]> www.infradead.org Git - users/jedix/linux-maple.git/commit
libnvdimm, pmem: fix up max_hw_sectors
authorDan Williams <dan.j.williams@intel.com>
Sat, 16 May 2015 16:28:50 +0000 (12:28 -0400)
committerDan Duval <dan.duval@oracle.com>
Tue, 11 Oct 2016 18:40:36 +0000 (14:40 -0400)
commit4d7fd769ab0fce2a2f59ec07ba4f8de1bea99e9f
tree69c1150aad7f949ac88e02c8246b253dc0164cf9
parent8820a6c407a78201cf2fff1fe62ac9f2a3f853e7
libnvdimm, pmem: fix up max_hw_sectors

Orabug: 22913653

There is no hardware limit to enforce on the size of the i/o that can be passed
to an nvdimm block device, so set it to UINT_MAX.

Reviewed-by: Vishal Verma <vishal.l.verma@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
(cherry picked from commit 43d3fa3a0491168ad769d20d5cbae45492509d43)
Signed-off-by: Dan Duval <dan.duval@oracle.com>
drivers/nvdimm/pmem.c