linux/drivers/s390/block
Stefan Haberland a29ea01653 s390/dasd: prevent inconsistent LCU device data
Prevent _lcu_update from adding a device to a pavgroup if the LCU still
requires an update. The data is not reliable any longer and in parallel
devices might have been moved on the lists already.
This might lead to list corruptions or invalid PAV grouping.
Only add devices to a pavgroup if the LCU is up to date. Additional steps
are taken by the scheduled lcu update.

Fixes: 8e09f21574 ("[S390] dasd: add hyper PAV support to DASD device driver, part 1")
Cc: stable@vger.kernel.org
Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Reviewed-by: Jan Hoeppner <hoeppner@linux.ibm.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2020-12-17 13:41:29 -07:00
..
dasd.c for-5.11/drivers-2020-12-14 2020-12-16 13:09:32 -08:00
dasd_3990_erp.c
dasd_alias.c s390/dasd: prevent inconsistent LCU device data 2020-12-17 13:41:29 -07:00
dasd_devmap.c s390/dasd: Display FC Endpoint Security information via sysfs 2020-11-16 08:14:38 -07:00
dasd_diag.c s390/dasd: Use struct_size() helper 2020-07-15 08:47:11 -06:00
dasd_diag.h
dasd_eckd.c for-5.11/drivers-2020-12-14 2020-12-16 13:09:32 -08:00
dasd_eckd.h
dasd_eer.c
dasd_erp.c
dasd_fba.c for-5.11/drivers-2020-12-14 2020-12-16 13:09:32 -08:00
dasd_fba.h
dasd_genhd.c dasd: cleanup dasd_scan_partitions 2020-09-23 10:43:19 -06:00
dasd_int.h for-5.11/drivers-2020-12-14 2020-12-16 13:09:32 -08:00
dasd_ioctl.c block: stop using bdget_disk for partition 0 2020-12-01 14:53:40 -07:00
dasd_proc.c
dcssblk.c dcssblk: don't set bd_block_size in ->open 2020-07-01 08:08:15 -06:00
Kconfig s390/dasd: remove IOSCHED_DEADLINE from DASD Kconfig 2020-04-17 08:05:27 -06:00
Makefile
scm_blk.c blk-mq: move failure injection out of blk_mq_complete_request 2020-06-24 09:15:57 -06:00
scm_blk.h
scm_drv.c
xpram.c block: move ->make_request_fn to struct block_device_operations 2020-07-01 07:27:24 -06:00