]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NVMe: Setup max hardware sector count to 512KB
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>
Thu, 10 Sep 2015 15:10:32 +0000 (08:10 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Thu, 10 Sep 2015 15:20:26 +0000 (08:20 -0700)
commit771e0fd62e57f54aa25c732d8e67d1c8530f9d53
tree0fad37725e0e418efa21e60e5c8c6ff2b6239b25
parent9b6437fa371cd4d55ec628a4422c79d534adf14b
NVMe: Setup max hardware sector count to 512KB

Linux in box NVMe driver does not handle 0 MDTS as expected
•0 MDTS - the drive can accept any request size.
•The device driver set up max hardware sector size by
BLK_SAFE_MAX_SECTORS or 124KB.
•Every IO size greater than 124KB is splitted by 124KB and remainder.

Hence performance drop at 128KB IO size.

Orabug: 21818316

Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
drivers/block/nvme-core.c