diff options
author | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2017-06-20 08:05:45 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-06-20 09:12:03 -0400 |
commit | a38d1243704f501a4c42de1db1062ff6eba83453 (patch) | |
tree | a5dfc333eccc3ecb99b4bf5de17436215121c835 /include/linux/iomap.h | |
parent | 6be96d3ad34a124450028dabba43f07fe1d0c86d (diff) |
fs: Introduce IOMAP_NOWAIT
IOCB_NOWAIT translates to IOMAP_NOWAIT for iomaps.
This is used by XFS in the XFS patch.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/iomap.h')
-rw-r--r-- | include/linux/iomap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/iomap.h b/include/linux/iomap.h index f753e788da31..69f4e9470084 100644 --- a/include/linux/iomap.h +++ b/include/linux/iomap.h | |||
@@ -52,6 +52,7 @@ struct iomap { | |||
52 | #define IOMAP_REPORT (1 << 2) /* report extent status, e.g. FIEMAP */ | 52 | #define IOMAP_REPORT (1 << 2) /* report extent status, e.g. FIEMAP */ |
53 | #define IOMAP_FAULT (1 << 3) /* mapping for page fault */ | 53 | #define IOMAP_FAULT (1 << 3) /* mapping for page fault */ |
54 | #define IOMAP_DIRECT (1 << 4) /* direct I/O */ | 54 | #define IOMAP_DIRECT (1 << 4) /* direct I/O */ |
55 | #define IOMAP_NOWAIT (1 << 5) /* Don't wait for writeback */ | ||
55 | 56 | ||
56 | struct iomap_ops { | 57 | struct iomap_ops { |
57 | /* | 58 | /* |