diff options
author | Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> | 2018-11-14 01:12:19 -0500 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-12-07 22:26:56 -0700 |
commit | 50a909db36f244bcfec6e02598d31c0b0a468175 (patch) | |
tree | d58497890df4cbe429c0164a48b05d83c877632a /crypto/keywrap.c | |
parent | c09305ae49970e15cd18828c0f78b766e8cf224f (diff) | |
download | linux-stable-50a909db36f244bcfec6e02598d31c0b0a468175.tar.gz linux-stable-50a909db36f244bcfec6e02598d31c0b0a468175.tar.bz2 linux-stable-50a909db36f244bcfec6e02598d31c0b0a468175.zip |
nvmet: use IOCB_NOWAIT for file-ns buffered I/O
This patch optimizes read command behavior when file-ns configured
with buffered I/O. Instead of offloading the buffered I/O read operations
to the worker threads, we first issue the read operation with IOCB_NOWAIT
and try and access the data from the cache. Here we only offload the
request to the worker thread and complete the request in the worker
thread context when IOCB_NOWAIT request fails.
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'crypto/keywrap.c')
0 files changed, 0 insertions, 0 deletions