nvmet: Use direct IO for writes
authorSagi Grimberg <sagi@grimberg.me>
Wed, 21 Sep 2016 18:06:32 +0000 (11:06 -0700)
committerSagi Grimberg <sagi@grimberg.me>
Fri, 23 Sep 2016 22:37:38 +0000 (15:37 -0700)
commit9b349b080ca9777f6dab3da06d7fa4577f7d4c29
tree0071a47de72b0f5d23b83a5008830eac4bba92e5
parent2d79c7dc8fe5cf1158250a5fd25c02d781324cd3
nvmet: Use direct IO for writes

We're designed to work with high-end devices where
direct IO makes perfect sense. We noticed that we
context switch by scheduling kblockd instead of going
directly to the device without REQ_SYNC for writes.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/target/io-cmd.c