summaryrefslogtreecommitdiff
path: root/certs
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2020-06-30 00:48:48 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2020-07-06 20:46:59 +0300
commitaac855ab1a98d9c20762047f26af47d391c3ba7a (patch)
tree973febf52b61413b35f31cf53557d7ff2de8a75f /certs
parenta7e134ef37172fd4f13bbb11f8f440c807ba294b (diff)
downloadlinux-aac855ab1a98d9c20762047f26af47d391c3ba7a.tar.xz
xfs: make inode IO completion buffer centric
Having different io completion callbacks for different inode states makes things complex. We can detect if the inode is stale via the XFS_ISTALE flag in IO completion, so we don't need a special callback just for this. This means inodes only have a single iodone callback, and inode IO completion is entirely buffer centric at this point. Hence we no longer need to use a log item callback at all as we can just call xfs_iflush_done() directly from the buffer completions and walk the buffer log item list to complete the all inodes under IO. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions