original_kernel/Documentation/ABI/testing
Andy Shevchenko a93917d39f USB: gadget: storage: optional SCSI WRITE FUA bit
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/_UDC_/gadget/gadget-lunX/nofua
	(_UDC_ is the name of the USB Device Controller driver)

Patch is based on the work that was done by Denis Karpov for Maemo 5
platform.

Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Cc: Denis Karpov <ext-denis.2.karpov@nokia.com>
Cc: Adrian Hunter <adrian.hunter@nokia.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-08-10 14:35:42 -07:00
..
debugfs-ec
debugfs-pktcdvd
ima_policy
procfs-diskstats
sysfs-block
sysfs-bus-css
sysfs-bus-i2c-devices-hm6352 hmc6352: add driver for the HMC6352 compass 2010-08-09 20:45:10 -07:00
sysfs-bus-pci
sysfs-bus-pci-devices-cciss
sysfs-bus-umc
sysfs-bus-usb
sysfs-bus-usb-devices-usbsevseg
sysfs-c2port
sysfs-class
sysfs-class-bdi
sysfs-class-lcd
sysfs-class-led
sysfs-class-mtd
sysfs-class-pktcdvd
sysfs-class-power
sysfs-class-regulator
sysfs-class-uwb_rc
sysfs-class-uwb_rc-wusbhc
sysfs-dev
sysfs-devices
sysfs-devices-memory
sysfs-devices-node
sysfs-devices-platform-_UDC_-gadget USB: gadget: storage: optional SCSI WRITE FUA bit 2010-08-10 14:35:42 -07:00
sysfs-devices-power
sysfs-devices-system-cpu
sysfs-driver-hid-picolcd
sysfs-driver-hid-prodikeys
sysfs-driver-hid-roccat-kone
sysfs-firmware-acpi
sysfs-firmware-memmap
sysfs-firmware-sfi
sysfs-firmware-sgi_uv
sysfs-fs-ext4
sysfs-gpio
sysfs-i2c-bmp085 drivers/misc: support for the pressure sensor BMP085 from Bosch Sensortec 2010-08-09 20:45:05 -07:00
sysfs-ibft
sysfs-kernel-mm
sysfs-kernel-mm-hugepages
sysfs-kernel-slab
sysfs-kernel-uids
sysfs-memory-page-offline
sysfs-ocfs2
sysfs-platform-asus-laptop
sysfs-platform-eeepc-laptop
sysfs-power
sysfs-pps
sysfs-profiling
sysfs-wacom
sysfs-wusb_cbaf