]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
libata: LITE-ON CX1-JB256-HP needs lower max_sectors
authorTejun Heo <tj@kernel.org>
Mon, 18 Jul 2016 22:40:00 +0000 (18:40 -0400)
committerTejun Heo <tj@kernel.org>
Mon, 18 Jul 2016 22:40:00 +0000 (18:40 -0400)
commit1488a1e3828d60d74c9b802a05e24c0487babe4e
tree6ae3fe780fbd7523917ad6ceebadf4be0857de6b
parent76bf3441ad6584ddc3aea1501927f21b21ba3a3a
libata: LITE-ON CX1-JB256-HP needs lower max_sectors

Since 34b48db66e08 ("block: remove artifical max_hw_sectors cap"),
max_sectors is no longer limited to BLK_DEF_MAX_SECTORS and LITE-ON
CX1-JB256-HP keeps timing out with higher max_sectors.  Revert it to
the previous value.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: dgerasimov@gmail.com
Link: https://bugzilla.kernel.org/show_bug.cgi?id=121671
Cc: stable@vger.kernel.org # v3.19+
Fixes: 34b48db66e08 ("block: remove artifical max_hw_sectors cap")
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libata-core.c