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:

committed by
Darrick J. Wong

parent
3cd1d18b0d
commit
5da8a07c79
@@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user