Skip to content

Commit 79cc80f

Browse files
htejungregkh
authored andcommitted
libata: LITE-ON CX1-JB256-HP needs lower max_sectors
commit 1488a1e3828d60d74c9b802a05e24c0487babe4e upstream. Since 34b48db ("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: 34b48db ("block: remove artifical max_hw_sectors cap") Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 1b0b5ca commit 79cc80f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

drivers/ata/libata-core.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4138,6 +4138,12 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
41384138
*/
41394139
{ "ST380013AS", "3.20", ATA_HORKAGE_MAX_SEC_1024 },
41404140

4141+
/*
4142+
* Device times out with higher max sects.
4143+
* https://bugzilla.kernel.org/show_bug.cgi?id=121671
4144+
*/
4145+
{ "LITEON CX1-JB256-HP", NULL, ATA_HORKAGE_MAX_SEC_1024 },
4146+
41414147
/* Devices we expect to fail diagnostics */
41424148

41434149
/* Devices where NCQ should be avoided */

0 commit comments

Comments
 (0)