xfs: document btree bulk loading
authorDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 01:59:49 +0000 (18:59 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 01:59:49 +0000 (18:59 -0700)
commit7fb8ccffd36946a055cc89b8f0acf49cb59403b1
treee863ade968095c78c45984202fe8edd3317b10a7
parent5f658dad233b2c92afddc011565d7e337d527a37
xfs: document btree bulk loading

Add a discussion of the btree bulk loading code, which makes it easy to
take an in-memory recordset and write it out to disk in an efficient
manner.  This also enables atomic switchover from the old to the new
structure with minimal potential for leaking the old blocks.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Documentation/filesystems/xfs-online-fsck-design.rst