[PATCH RFC 0/1] RAMDISK: doing write barrier will return -EIO

Richard Zhu Hong-Xing.Zhu at freescale.com
Sat Apr 2 03:23:44 EDT 2011


---
 drivers/block/brd.c |    6 ++++--
  1 files changed, 4 insertions(+), 2 deletions(-)
  
  Encounter one RAMDISK issue when use the RAMDISK as the removable
  disk through the USB OTG.

  Here are the reproduce steps:
  1. enable ramdisk in kernel and make default size to 16M.
  2. connect board to PC through USB otg port.
  3. modprobe g_file_storage file=/dev/ram0 removable=1.
  4. check the removable usb devices on PC and need to be formatted
   then write a file to this disk. found data error when create a new
   file on disk in window explore.


In-Reply-To: 





More information about the linux-arm-kernel mailing list