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

From: Bart Van Assche
Date: Wed Jul 18 2018 - 13:30:14 EST


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