Commit bbac37fa authored by Bart Van Assche's avatar Bart Van Assche
Browse files

ANDROID: scsi: sd_zbc: Work around non-compliance



ZBC requires that every LBA is associated with a zone. Some zoned
devices do not associate a zone with the last LBA. Let the kernel use
these devices instead of rejecting them as follows:

sd 0:0:0:4: [sde] 59552768 4096-byte logical blocks: (244 GB/227 GiB)
sde: detected capacity change from 0 to 476422144
sd 0:0:0:4: [sde] REPORT ZONES report invalid length 0
sde: failed to revalidate zones
sde: detected capacity change from 476422144 to 0

This patch will be reverted after the firmware bug has been fixed.

Bug: 258289823
Change-Id: Ic7f13d1742bdd144fd4df2d37a3ed3dd93e65a2e
Signed-off-by: default avatarBart Van Assche <bvanassche@google.com>
parent 31f50e8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment