diff options
| author | Stefan Haberland <[email protected]> | 2023-05-19 10:23:40 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-05-20 02:03:59 +0000 |
| commit | c99bff34290f1b994073557b754aff86e4c7b22e (patch) | |
| tree | b78f5e40708cd6b6082fcc79fa4dfadf332342a5 /lib/string_helpers.c | |
| parent | Merge tag 'nvme-6.4-2023-05-18' of git://git.infradead.org/nvme into block-6.4 (diff) | |
| download | kernel-c99bff34290f1b994073557b754aff86e4c7b22e.tar.gz kernel-c99bff34290f1b994073557b754aff86e4c7b22e.zip | |
s390/dasd: fix command reject error on ESE devices
Formatting a thin-provisioned (ESE) device that is part of a PPRC copy
relation might fail with the following error:
dasd-eckd 0.0.f500: An error occurred in the DASD device driver, reason=09
[...]
24 Byte: 0 MSG 4, no MSGb to SYSOP
During format of an ESE disk the Release Allocated Space command is used.
A bit in the payload of the command is set that is not allowed to be set
for devices in a copy relation. This bit is set to allow the partial
release of an extent.
Check for the existence of a copy relation before setting the respective
bit.
Fixes: 91dc4a197569 ("s390/dasd: Add new ioctl to release space")
Cc: [email protected] # 5.3+
Signed-off-by: Stefan Haberland <[email protected]>
Reviewed-by: Jan Hoeppner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
