blk-mq-debug: Make show() operations interruptible
authorBart Van Assche <bart.vanassche@sandisk.com>
Wed, 1 Feb 2017 18:20:58 +0000 (10:20 -0800)
committerJens Axboe <axboe@fb.com>
Wed, 1 Feb 2017 19:22:59 +0000 (12:22 -0700)
commit8c0f14eab8f138689e68b3498c0c5fd6ff20a948
tree7cff92fac926029a2fc6b4fb1ae959b69e53325b
parenta1ae0f74a73fbd113647321c49032a561b3f3781
blk-mq-debug: Make show() operations interruptible

Allow users to interrupt show operations instead of making a user
space process unkillable if ownership of q->sysfs_lock cannot be
obtained.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-debugfs.c