]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.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)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 12 Aug 2016 07:07:21 +0000 (09:07 +0200)
commitc3f11b7030229dfbaa735fd672a78e1e34c3c0bd
tree52341e48009a2391d678f57c5d5f4065012edc80
parent9a6774ab3123546be8c58e19193f7f981b0e8cca
libata: LITE-ON CX1-JB256-HP needs lower max_sectors

BugLink: http://bugs.launchpad.net/bugs/1611833
commit 1488a1e3828d60d74c9b802a05e24c0487babe4e upstream.

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
Fixes: 34b48db66e08 ("block: remove artifical max_hw_sectors cap")
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
drivers/ata/libata-core.c