mbox series

[0/5] target: UNMAP/WRITE_SAME features/cleanups for 5.20

Message ID 20220628022953.20948-1-michael.christie@oracle.com
Headers show
Series target: UNMAP/WRITE_SAME features/cleanups for 5.20 | expand

Message

Mike Christie June 28, 2022, 2:29 a.m. UTC
The following patches were made over Linus's tree and:

[PATCH 1/1] scsi: target: Fix WRITE_SAME No Data Buffer crash

They perform cleanup to target_core_file's WRITE_SAME handling and allow
users to configure UNMAP/WRITE_SAME after we have done the initial device
addition/configuration.

Comments

Christoph Hellwig June 28, 2022, 5:03 a.m. UTC | #1
On Mon, Jun 27, 2022 at 09:29:49PM -0500, Mike Christie wrote:
> We use WSNZ=1 so if we get a WRITE_SAME with zero logical blocks we are
> supposed to fail it. We do this check and failure in target_core_sbc.c
> before calling into the backend, so we can remove the incorrect check in
> target_core_file.

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>