mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-16 07:04:36 +01:00
When a device cannot handle the smallest previously limited transfer size (64 blocks) without stalling, limit the device to the amount of packets that fit in a platform native page. The lowest possible limit is PAGE_CACHE_SIZE, so if the device is ever used on a platform that has larger than 8K pages, you lose unless you can convince the device firmware folks to fix the issue. Cc: Mathew Dharm <[email protected]> Cc: Alan Stern <[email protected]> Cc: Pete Zaitcev <[email protected]> Signed-off-by: Doug Maxey <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>