]> www.infradead.org Git - users/jedix/linux-maple.git/commit
block: bump BLK_DEF_MAX_SECTORS to 2560
authorJeff Moyer <jmoyer@redhat.com>
Thu, 13 Aug 2015 18:57:57 +0000 (14:57 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 29 Jan 2016 15:12:35 +0000 (07:12 -0800)
commit28b516f4cd1b9cf9a848b85ee3734e8bdd1e4599
treedd2ddfbd302ad3684c29201cd7682f9a8f786e12
parent8c8df5e1874328156c00f3fb0c53397ec9da594a
block: bump BLK_DEF_MAX_SECTORS to 2560

Orabug: 22611290

A value of 2560 (1280k) will accommodate a 10-data-disk stripe
write with chunk size 128k.  In the testing I've done using
iozone, fio, and aio-stress across a number of different storage
devices, a value of 1280 does not show a big performance
difference from 512, but will hopefully help software RAID
setups using SATA disks, as reported by Christoph.

NOTE: drivers/block/aoe/aoeblk.c sets its own max_hw_sectors_kb to
BLK_DEF_MAX_SECTORS.  So, this patch essentially changes aeoblk to
Use a larger maximum sector size, and I did not test this.

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from commit d2be537c3ba3568acd79cd178327b842e60d035e)

Signed-off-by: Tariq Saeed <tariq.x.saeed@oracle.com>
include/linux/blkdev.h