Skip to content

s390/dasd: add dasd autoquiesce feature

Stefan Haberland linux-block linux-s390 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 8 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7s390/dasd: remove unused DASD EER definesdrivers/s390/block/dasd_int.h+1 -111 reply
2/7s390/dasd: add autoquiesce featurearch/s390/include/uapi/asm/dasd.h drivers/s390/block/dasd.c drivers/s390/block/dasd_eer.c +1 more+48 -171 reply
3/7s390/dasd: add aq_mask sysfs attributedrivers/s390/block/dasd_devmap.c drivers/s390/block/dasd_int.h+59 -71 reply
4/7s390/dasd: add aq_requeue sysfs attributedrivers/s390/block/dasd_devmap.c+36 -01 reply
5/7s390/dasd: add aq_timeouts autoquiesce triggerdrivers/s390/block/dasd.c drivers/s390/block/dasd_devmap.c drivers/s390/block/dasd_eckd.c +1 more+60 -01 reply
6/7s390/dasd: add autoquiesce event for start IO errordrivers/s390/block/dasd.c+2 -01 reply
7/7s390/dasd: fix hanging blockdevice after request requeuedrivers/s390/block/dasd.c+1 -11 reply

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchJan HoeppnerHalil Pasic
1/7R-b R-b
2/7R-b R-b
3/7R-b R-b
4/7R-b R-b
5/7R-b R-b
6/7R-b R-b
7/7R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] s390/dasd: add dasd autoquiesce feature

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(-)
Signature · 1 line
2.37.2