summaryrefslogtreecommitdiffstats
path: root/mm/compaction.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.com>2019-10-07 15:57:01 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2019-10-10 05:29:20 +0200
commitb6ce6fb121a655aefe41dccc077141c102145a37 (patch)
treeb56671c09ac4a23a777cc2ed7b28e9856c2c5cd9 /mm/compaction.c
parentscsi: qla2xxx: fix a potential NULL pointer dereference (diff)
downloadlinux-b6ce6fb121a655aefe41dccc077141c102145a37.tar.xz
linux-b6ce6fb121a655aefe41dccc077141c102145a37.zip
scsi: scsi_dh_alua: handle RTPG sense code correctly during state transitions
Some arrays are not capable of returning RTPG data during state transitioning, but rather return an 'LUN not accessible, asymmetric access state transition' sense code. In these cases we can set the state to 'transitioning' directly and don't need to evaluate the RTPG data (which we won't have anyway). Link: https://lore.kernel.org/r/20191007135701.32389-1-hare@suse.de Reviewed-by: Laurence Oberman <loberman@redhat.com> Reviewed-by: Ewan D. Milne <emilne@redhat.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'mm/compaction.c')
0 files changed, 0 insertions, 0 deletions