Re: [PATCH v3] usb: gadget: storage: add support for media larger than 2T

Greg Kroah-Hartman
2021-10-10T13:08:37Z

On Tue, Oct 05, 2021 at 10:19:58AM -0400, Alan Stern wrote:
> On Tue, Oct 05, 2021 at 01:07:58PM +0200, Greg Kroah-Hartman wrote:
> > On Tue, Sep 21, 2021 at 05:59:02PM +0300, Nikita Yushchenko wrote:
> > > This adds support for READ_CAPACITY(16), READ(16) and WRITE(16)
> > > commands, and fixes READ_CAPACITY command to return 0xffffffff if
> > > media size does not fit in 32 bits.
> > >
> > > This makes f_mass_storage to export a 16T disk array correctly.
> > >
> > > Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
> > > ---
> > > v3:
> > > - added this changelog
> > >
> > > v2:
> > > - fixed call to check_command() for READ_CAPACITY(16)
> > > - fixed alphabetical order of commands in switch statement
> > > - renamed variable, added comments, and fixed formatting, per advices by
> > > Alan Stern <stern@rowland.harvard.edu>
> >
> > Felipe and Alan, any objections to this change?
>
> No objections. In fact, I already sent my Acked-by for v2 of the
> patch (which is the same as v3):
>
> https://marc.info/?l=linux-usb&m=163165151506682&w=2

Thanks, I had missed that.

And ick, marc.info, you might want to look at using lore.kernel.org in
the future :)

greg k-h