summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_mount.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-10-28 16:41:45 +0100
committerDarrick J. Wong <darrick.wong@oracle.com>2019-10-29 17:50:13 +0100
commit2fcddee8cd8fcce4cc5589a0344f40a28a6dd26f (patch)
tree59eb7224fd11149dc822bb659f48095dda2361df /fs/xfs/xfs_mount.h
parentxfs: rename the m_writeio_* fields in struct xfs_mount (diff)
downloadlinux-2fcddee8cd8fcce4cc5589a0344f40a28a6dd26f.tar.xz
linux-2fcddee8cd8fcce4cc5589a0344f40a28a6dd26f.zip
xfs: simplify parsing of allocsize mount option
Rework xfs_parseargs to fill out the default value and then parse the option directly into the mount structure, similar to what we do for other updates, and open code the now trivial updates based on on the on-disk superblock directly into xfs_mountfs. Note that this change rejects the allocsize=0 mount option that has been documented as invalid for a long time instead of just ignoring it. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_mount.h')
-rw-r--r--fs/xfs/xfs_mount.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h
index 109081c16a07..712dbb2039cd 100644
--- a/fs/xfs/xfs_mount.h
+++ b/fs/xfs/xfs_mount.h
@@ -244,12 +244,6 @@ typedef struct xfs_mount {
#define XFS_MOUNT_DAX (1ULL << 62) /* TEST ONLY! */
-
-/*
- * Default write size.
- */
-#define XFS_WRITEIO_LOG_LARGE 16
-
/*
* Max and min values for mount-option defined I/O
* preallocation sizes.