diff options
author | Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> | 2018-06-20 07:01:41 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-07-23 10:35:14 +0300 |
commit | 55eb942eda2ccbbbea61db4c1a774ba22b618046 (patch) | |
tree | cfeeeaadeaf87b88e73a6bdf2ec878fc846b8b11 /drivers/ntb | |
parent | 0866bf0c3778661e65f68a5c93df8e0a1e9e43cc (diff) | |
download | linux-55eb942eda2ccbbbea61db4c1a774ba22b618046.tar.xz |
nvmet: add buffered I/O support for file backed ns
Add a new "buffered_io" attribute, which disabled direct I/O and thus
enables page cache based caching when enabled. The attribute can only
be changed when the namespace is disabled as the file has to be reopend
for the change to take effect.
The possibly blocking read/write are deferred to a newly introduced
global workqueue.
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/ntb')
0 files changed, 0 insertions, 0 deletions