Ming Lei writes:
> Add blk_alloc_disk_srcu() so that we can allocate srcu inside request queue
> for supporting blocking ->queue_rq().
>
> dm-rq needs this API.
>
> Signed-off-by: Ming Lei
Reviewed-by: Jeff Moyer
> ---
> block/genhd.c | 5 +++--
> include/linux/genhd.h | 12
Add blk_alloc_disk_srcu() so that we can allocate srcu inside request queue
for supporting blocking ->queue_rq().
dm-rq needs this API.
Signed-off-by: Ming Lei
---
block/genhd.c | 5 +++--
include/linux/genhd.h | 12
2 files changed, 11 insertions(+), 6 deletions(-)
diff