• Darrick J. Wong's avatar
    xfs: document how online fsck deals with eventual consistency · bae43864
    Darrick J. Wong authored
    Writes to an XFS filesystem employ an eventual consistency update model
    to break up complex multistep metadata updates into small chained
    transactions.  This is generally good for performance and scalability
    because XFS doesn't need to prepare for enormous transactions, but it
    also means that online fsck must be careful not to attempt a fsck action
    unless it can be shown that there are no other threads processing a
    transaction chain.  This part of the design documentation covers the
    thinking behind the consistency model and how scrub deals with it.
    Signed-off-by: default avatarDarrick J. Wong <djwong@kernel.org>
    Reviewed-by: default avatarDave Chinner <dchinner@redhat.com>
    bae43864
xfs-online-fsck-design.rst 83.8 KB