Re: New user of tgtd

ronnie sahlberg <[email protected]> Sat, 15 Jul 2023 07:21:28 +1000
Newsgroups org.kernel.vger.stgt
Message-ID <CAN05THSTdWCL2f+oCK-wsfxk2scJ0JbH18eGTA=w63Yc8iUMiw@mail.gmail.com>
On Sat, 15 Jul 2023 at 03:32, Forza <[email protected]> wrote:
>
>
>
> ---- From: ronnie sahlberg <[email protected]> -- Sent: 2023-07-14 - 17:46 ----
>
> >> * Is there a way to hint to the initiators that the LUN is non-rotational? Some OSes use this parameter to adjusts its internal io scheduling.
> >
> > I think the param rotation_rate=0 will do that.
>
> Thank you. I didn't see it as a documented opinion, but looking through the source code[*] it seems to be the correct option.
>
> [*] https://github.com/fujita/tgt/blob/1a5e14e678ba944986428f4abc586a68e7cdf31a/usr/tgtd.h#L93

The documentation might be missing here because it is possibly an
unusual thing to need.
Maybe create a pull request to add this to the docs?


>
> ~ Forza
>