[PATCH v2 0/3] limit set the host state by sysfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ye Bin <yebin10@xxxxxxxxxx>

Diff v2 vs v1:
1. Remove set scsi host state by sysfs, as set host state by sysfs
may lead to functional issue. Scsi host state has it's own running
state machine.
2. Introduce 'blocked' sysfs api for set scsi host blocking IO. Use
this function we can do some test.

Ye Bin (3):
  scsi: forbid to set scsi host state by sysfs
  scsi: introduce 'blocked' sysfs api
  scsi: blocking IO when host is set blocked

 drivers/scsi/scsi_lib.c   |  2 ++
 drivers/scsi/scsi_sysfs.c | 58 ++++++++++++++++++++++-----------------
 include/scsi/scsi_host.h  |  8 ++++++
 3 files changed, 43 insertions(+), 25 deletions(-)

-- 
2.31.1




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux