commit | 6ad5b3255b9e3d6d94154738aacd5119bf9c8f6e | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Jun 28 19:27:26 2019 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Fri Jun 28 19:27:26 2019 -0700 |
tree | b4d9580b646613a392d40ba52f83675415c1c885 | |
parent | 18ffb8c3f0bfd2a0b92026eb43651591288c3a39 [diff] |
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>