]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: use dax_direct_access for log writes xfs-log-dax
authorChristoph Hellwig <hch@lst.de>
Sun, 6 Oct 2019 14:18:04 +0000 (16:18 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Feb 2020 17:52:47 +0000 (18:52 +0100)
commit44d8873139728476867da4bfc9e01bac898e2e1a
tree9b78105c91b4fb33ee4d37476da7e28d621d1cfa
parent491ba40bfee54cec822a8297d7dfdd705b6d521b
xfs: use dax_direct_access for log writes

If the XFS log is on a DAX capable device we can trivially skip all
the block layer overhead and just copy the data directly to the NVDIMM.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_log.c
fs/xfs/xfs_log_priv.h