diff options
author | Brian Foster <bfoster@redhat.com> | 2017-04-26 18:30:39 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-04-28 18:11:08 +0300 |
commit | 756baca27fff3ecaeab9dbc7a5ee35a1d7bc0c7f (patch) | |
tree | 75e7bd77fba23d4d0ab39659d3fe6b723d46717c /fs/ufs/inode.c | |
parent | 8f720d9f892e0e223dab8400f03130bc208c72e7 (diff) | |
download | linux-756baca27fff3ecaeab9dbc7a5ee35a1d7bc0c7f.tar.xz |
xfs: support ability to wait on new inodes
Inodes that are inserted into the perag tree but still under
construction are flagged with the XFS_INEW bit. Most contexts either
skip such inodes when they are encountered or have the ability to
handle them.
The runtime quotaoff sequence introduces a context that must wait
for construction of such inodes to correctly ensure that all dquots
in the fs are released. In anticipation of this, support the ability
to wait on new inodes. Wake the appropriate bit when XFS_INEW is
cleared.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/ufs/inode.c')
0 files changed, 0 insertions, 0 deletions