OSDN Git Service

NVMe: nvme_submit_async_admin_req() must use atomic rq allocation
authorJens Axboe <axboe@fb.com>
Tue, 18 Nov 2014 15:21:18 +0000 (08:21 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 18 Nov 2014 15:21:18 +0000 (08:21 -0700)
commit6dcc0cf6cb3120cedc0d4c12171894f3d6415981
tree7f6867cdc595dd88c6029f1f06ae9af771f09dce
parent9d135bb8c2a0d2e54b84ebc1b7d41852614fead8
NVMe: nvme_submit_async_admin_req() must use atomic rq allocation

We are called for async event notification issues, and the
nvmeq lock is already held. If we fail the request allocation,
we'll just retry next time.

Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nvme-core.c