Re: [PATCH V5 2/2] scsi: ufs: Add configfs support for ufs provisioning

Bart Van Assche
2018-07-18T17:30:14Z

On Wed, 2018-07-18 at 10:56 +0200, gregkh@linuxfoundation.org wrote:
> On Tue, Jul 17, 2018 at 09:06:35PM +0000, Bart Van Assche wrote:
> > On Tue, 2018-07-17 at 13:23 -0700, Evan Green wrote:
> > > I'm not dead set on binary, since as above I could do it either way,
> > > but it seemed worth at least talking through. Let me know what you
> > > think.
> >
> > The configfs documentation (Documentation/filesystems/configfs/configfs.txt)
> > is clear about this: "Preferably only one value per file should be used." So
> > I would like to hear the opinion of someone who has more authority than I
> > with regard to configfs.
>
> Don't we have "binary" files for configfs? We have them for sysfs, they
> are for files that are not touched by the kernel and just "pass-through"
> to the hardware. Would that work here as well?

If a new version of the UFS spec would be introduced and that new version of the
spec introduces a new layout for the binary descriptor, will it be possible for
user space software to figure out which version of the binary descriptor format
that has to be used?

Thanks,

Bart.