summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.h
diff options
context:
space:
mode:
authorChristoph Hellwig2016-07-20 03:31:42 +0200
committerDave Chinner2016-07-20 03:31:42 +0200
commit3176c3e0ef32963aa5f6f9754142e420a4ba5d64 (patch)
treec4991c02cbdeb0c7bacf5244844ec59d70f59488 /fs/xfs/xfs_inode.h
parentxfs: don't pass ioflags around in the ioctl path (diff)
downloadkernel-qcow2-linux-3176c3e0ef32963aa5f6f9754142e420a4ba5d64.tar.gz
kernel-qcow2-linux-3176c3e0ef32963aa5f6f9754142e420a4ba5d64.tar.xz
kernel-qcow2-linux-3176c3e0ef32963aa5f6f9754142e420a4ba5d64.zip
xfs: kill ioflags
Now that we have the direct I/O kiocb flag there is no real need to sample the value inside of XFS, and the invis flag was always just partially used and isn't worth keeping this infrastructure around for. This also splits the read tracepoint into buffered vs direct as we've done for writes a long time ago. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_inode.h')
-rw-r--r--fs/xfs/xfs_inode.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h
index e52d7c7aeb5b..57b66d2bbc45 100644
--- a/fs/xfs/xfs_inode.h
+++ b/fs/xfs/xfs_inode.h
@@ -479,14 +479,4 @@ do { \
extern struct kmem_zone *xfs_inode_zone;
-/*
- * Flags for read/write calls
- */
-#define XFS_IO_ISDIRECT 0x00001 /* bypass page cache */
-#define XFS_IO_INVIS 0x00002 /* don't update inode timestamps */
-
-#define XFS_IO_FLAGS \
- { XFS_IO_ISDIRECT, "DIRECT" }, \
- { XFS_IO_INVIS, "INVIS"}
-
#endif /* __XFS_INODE_H__ */