mbox series

[0/3] scsi: disable discard when set target full provisioning

Message ID 20240702030118.2198570-1-haoqian.he@smartx.com (mailing list archive)
Headers show
Series scsi: disable discard when set target full provisioning | expand

Message

Haoqian He July 2, 2024, 3:01 a.m. UTC
Hi all,

this series has a few fixes for the scsi discard mode changes.
The first disable the disacrd when set the target lun full
provisioning, the reset have some cleanups.

The series based on ("scsi: sd: Keep the discard mode stable"):
https://lore.kernel.org/all/20240619071412.140100-1-fengli@smartx.com

Haoqian He (3):
  scsi: sd: disable discard when set target full provisioning
  scsi: sd: remove scsi_disk field lbpvpd
  scsi: sd: remove some redundant initialization code

 drivers/scsi/sd.c | 34 ++++++++++++++++++----------------
 drivers/scsi/sd.h |  1 -
 2 files changed, 18 insertions(+), 17 deletions(-)