android_kernel_xiaomi_sdm845/drivers/s390/block
Stefan Weinhuber f932bcea6b [S390] dasd: allocate fallback cqr for reserve/release
The DASD reserve and release ioctls use the preallocated memory pool
of the respective device to build their CCW requests. However, when
the device is busy, the pool may already be empty and the ioctl fails.
Usually this can be recovered by calling the ioctl again, but in
a situation in which we need to issue an unconditional reserve to
make a device operational again, this would be not recoverable.
To avoid a failure due to lack of memory, DASD device driver will
preallocate enough memory for a single reserve/release request, which
can be used if normal allocation fails.

Signed-off-by: Stefan Weinhuber <wein@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2010-08-09 18:12:54 +02:00
..
dasd_3990_erp.c [S390] dasd: add dynamic pav toleration 2010-05-17 10:00:16 +02:00
dasd_alias.c [S390] dasd: remove uid from devmap 2010-05-17 10:00:16 +02:00
dasd_devmap.c [S390] add missing device put 2010-07-19 09:22:50 +02:00
dasd_diag.c [S390] dasd: automatic recognition of read-only devices 2010-03-08 12:26:27 +01:00
dasd_diag.h
dasd_eckd.c [S390] dasd: allocate fallback cqr for reserve/release 2010-08-09 18:12:54 +02:00
dasd_eckd.h [S390] dasd: add dynamic pav toleration 2010-05-17 10:00:16 +02:00
dasd_eer.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
dasd_erp.c [S390] dasd: fix message naming 2009-09-11 10:29:42 +02:00
dasd_fba.c [S390] dasd: automatic recognition of read-only devices 2010-03-08 12:26:27 +01:00
dasd_fba.h
dasd_genhd.c [S390] dasd: automatic recognition of read-only devices 2010-03-08 12:26:27 +01:00
dasd_int.h [S390] dasd: unit check handling during internal cio I/O 2010-05-26 23:27:09 +02:00
dasd_ioctl.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
dasd_proc.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
dasd.c [S390] dasd: unit check handling during internal cio I/O 2010-05-26 23:27:09 +02:00
dcssblk.c const: constify remaining dev_pm_ops 2009-12-15 08:53:25 -08:00
Kconfig [S390] dasd: fix double elevator_exit call when deadline iosched fails to load 2008-04-17 07:46:55 +02:00
Makefile [S390] dasd: add hyper PAV support to DASD device driver, part 1 2008-01-26 14:11:28 +01:00
xpram.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00