[PATCH 0/2] mmc, block: override default max_dev_sectors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Mateusz Nowak <mateusz.nowak@xxxxxxxxx>

commit ca369d51b3e1 ("block/sd: Fix device-imposed transfer length limits")
introduced max_dev_sectors as upper limit for max_hw_sectors. This caused
limitation of maximum block size to default max_dev_sectors value - 127,
causing performance degradation with higher block sizes.

This patchset is allowing mmc driver to override max_dev_sectors value.

Cc: linux-mmc@xxxxxxxxxxxxxxx
Mateusz Nowak (2):
  block: Allow to set max_dev_sectors for a queue.
  mmc/block: Override default max_dev_sectors.

 block/blk-settings.c     | 24 ++++++++++++++++++++++++
 drivers/mmc/card/queue.c | 10 ++++++++++
 include/linux/blkdev.h   |  1 +
 3 files changed, 35 insertions(+)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux