]> git.baikalelectronics.ru Git - kernel.git/commit
null_blk: change type of completion_nsec to unsigned long
authorArianna Avanzini <avanzini@google.com>
Tue, 1 Dec 2015 10:48:19 +0000 (11:48 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 1 Dec 2015 17:52:12 +0000 (10:52 -0700)
commit08e4649922475003a9999a4106aeee6b8dec904b
treebad611c6b1b4e88f95d2269d5878f40b301bbdfd
parentf3465ce5e0ab6f604d6c82b3a4a0d4c7015187bb
null_blk: change type of completion_nsec to unsigned long

This commit at least doubles the maximum value for
completion_nsec. This helps in special cases where one wants/needs to
emulate an extremely slow I/O (for example to spot bugs).

Signed-off-by: Paolo Valente <paolo.valente@unimore.it>
Signed-off-by: Arianna Avanzini <avanzini@google.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/null_blk.c