diff options
author | Christoph Hellwig <hch@lst.de> | 2019-06-29 04:27:26 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-06-29 04:27:26 +0200 |
commit | 6ad5b3255b9e3d6d94154738aacd5119bf9c8f6e (patch) | |
tree | b4d9580b646613a392d40ba52f83675415c1c885 /fs/xfs/Makefile | |
parent | xfs: return an offset instead of a pointer from xlog_align (diff) | |
download | linux-6ad5b3255b9e3d6d94154738aacd5119bf9c8f6e.tar.xz linux-6ad5b3255b9e3d6d94154738aacd5119bf9c8f6e.zip |
xfs: use bios directly to read and write the log recovery buffers
The xfs_buf structure is basically used as a glorified container for
a memory allocation in the log recovery code. Replace it with a
call to kmem_alloc_large and a simple abstraction to read into or
write from it synchronously using chained bios.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/Makefile')
-rw-r--r-- | fs/xfs/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/Makefile b/fs/xfs/Makefile index 91831975363b..701028e3e4ac 100644 --- a/fs/xfs/Makefile +++ b/fs/xfs/Makefile @@ -62,6 +62,7 @@ xfs-y += xfs_aops.o \ xfs_attr_inactive.o \ xfs_attr_list.o \ xfs_bmap_util.o \ + xfs_bio_io.o \ xfs_buf.o \ xfs_dir2_readdir.o \ xfs_discard.o \ |