]> www.infradead.org Git - users/hch/xfsprogs.git/commit
libxfs: use uncached buffers for initial mkfs writes
authorDarrick J. Wong <darrick.wong@oracle.com>
Sun, 1 Mar 2020 17:34:11 +0000 (12:34 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Sun, 1 Mar 2020 17:34:11 +0000 (12:34 -0500)
commit094681191359fbe6c6388e0ae87cda94f1e97007
treeac00ebbea86184f94477919d1d851dbae81f3b62
parent66ab87d39d71220b548fb37f1bb1014bc90ce4fb
libxfs: use uncached buffers for initial mkfs writes

Teach mkfs to use uncached buffers to write the start and end of the
data device, the initial superblock, and the end of the realtime device
instead of open-coding uncached buffers.  This means we can get rid of
libxfs_purgebuf since we handle the state from the start now.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/libxfs_io.h
libxfs/rdwr.c
mkfs/xfs_mkfs.c