xfs: rename the m_writeio_* fields in struct xfs_mount

Use the allocsize name to match the mount option and usage instead.

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>
This commit is contained in:
Christoph Hellwig
2019-10-28 08:41:44 -07:00
committed by Darrick J. Wong
parent 3cd1d18b0d
commit 5da8a07c79
6 changed files with 18 additions and 18 deletions

View File

@@ -440,13 +440,13 @@ xfs_set_rw_sizes(xfs_mount_t *mp)
if (!(mp->m_flags & XFS_MOUNT_DFLT_IOSIZE))
writeio_log = XFS_WRITEIO_LOG_LARGE;
else
writeio_log = mp->m_writeio_log;
writeio_log = mp->m_allocsize_log;
if (sbp->sb_blocklog > writeio_log)
mp->m_writeio_log = sbp->sb_blocklog;
mp->m_allocsize_log = sbp->sb_blocklog;
} else
mp->m_writeio_log = writeio_log;
mp->m_writeio_blocks = 1 << (mp->m_writeio_log - sbp->sb_blocklog);
mp->m_allocsize_log = writeio_log;
mp->m_allocsize_blocks = 1 << (mp->m_allocsize_log - sbp->sb_blocklog);
}
/*