mbox series

[0/7] s390/dasd: add dasd autoquiesce feature

Message ID 20230405142017.2446986-1-sth@linux.ibm.com (mailing list archive)
Headers show
Series s390/dasd: add dasd autoquiesce feature | expand

Message

Stefan Haberland April 5, 2023, 2:20 p.m. UTC
Hi Jens,

please apply the following patchset that introduces an
autoquiesce feature for DASD devices.

Quiesce and resume are functions that tell Linux to stop/resume
issuing I/Os to a specific DASD.
The DASD driver allows a manual quiesce/resume via ioctl.

Autoquiesce will define an amount of triggers that will lead to
an automatic quiesce if a certain event occurs.
There is no automatic resume.

The autoquiesce feature is useful for devices in a copy relation
where different events should lead to an automatic quiesce of a
device. This prevents IO errors, unnecessary load and gives the
controlling agent time to sort out the situation and trigger a swap
of copy pairs if needed before it will resume device operation.

Stefan Haberland (7):
  s390/dasd: remove unused DASD EER defines
  s390/dasd: add autoquiesce feature
  s390/dasd: add aq_mask sysfs attribute
  s390/dasd: add aq_requeue sysfs attribute
  s390/dasd: add aq_timeouts autoquiesce trigger
  s390/dasd: add autoquiesce event for start IO error
  s390/dasd: fix hanging blockdevice after request requeue

 arch/s390/include/uapi/asm/dasd.h |   2 +
 drivers/s390/block/dasd.c         |  75 +++++++++++++-----
 drivers/s390/block/dasd_devmap.c  | 126 ++++++++++++++++++++++++++++++
 drivers/s390/block/dasd_eckd.c    |   1 +
 drivers/s390/block/dasd_eer.c     |   1 +
 drivers/s390/block/dasd_int.h     |  32 ++++----
 6 files changed, 204 insertions(+), 33 deletions(-)

Comments

Jens Axboe April 12, 2023, 1:53 a.m. UTC | #1
On Wed, 05 Apr 2023 16:20:10 +0200, Stefan Haberland wrote:
> please apply the following patchset that introduces an
> autoquiesce feature for DASD devices.
> 
> Quiesce and resume are functions that tell Linux to stop/resume
> issuing I/Os to a specific DASD.
> The DASD driver allows a manual quiesce/resume via ioctl.
> 
> [...]

Applied, thanks!

[1/7] s390/dasd: remove unused DASD EER defines
      commit: 861d53dbed4cad8cf1bbef692111f2215e02c38e
[2/7] s390/dasd: add autoquiesce feature
      commit: 1cee2975bbabd89df1097c354867192106b058ea
[3/7] s390/dasd: add aq_mask sysfs attribute
      commit: 9558a8e9d4a681e67b3abe9cabf3e3d8825af57e
[4/7] s390/dasd: add aq_requeue sysfs attribute
      commit: bdac94e29564bab9f24c2700f16ff11f31af7c11
[5/7] s390/dasd: add aq_timeouts autoquiesce trigger
      commit: 0c1a14748133024a33aa8ffd763ca7f5c03bb27e
[6/7] s390/dasd: add autoquiesce event for start IO error
      commit: d9ee2bee4a63844cd9d1e0d00b1e3c49eacd1c2f
[7/7] s390/dasd: fix hanging blockdevice after request requeue
      commit: d8898ee50edecacdf0141f26fd90acf43d7e9cd7

Best regards,