Re: [PATCHv3 2/2] usb: gadget: storage: optional SCSI WRITE FUA bit

From: Greg KH
Date: Wed Jul 21 2010 - 15:19:18 EST


On Thu, Jul 15, 2010 at 12:07:21PM +0300, Andy Shevchenko wrote:
> MS Windows mounts removable storage in "Removal optimized mode" by
> default. All the writes to the media are synchronous which is achieved
> by setting FUA (Force Unit Access) bit in SCSI WRITE(10,12) commands.
> This prevents I/O requests aggregation in block layer dramatically
> decreasing performance.
>
> This patch brings an option to accept or ignore mentioned bit
> a) via specifying module parameter "nofua", or
> b) through sysfs entry
> /sys/devices/platform/musb_hdrc/gadget/gadget-lun-N/nofua

Any new sysfs entry needs a matching documentation entry in the
Documentation/ABI/ directory.

Care to resend these two patches, with that documentation change added
as well?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/