From: John Groves <[email protected]>
This series applies bug fixes (mostly found via sashiko) to the dax/fsdev
series. This has been soaking in the famfs CI pipeline for 2+ weeks and
1) won't affect anything that doesn't use drivers/dax/fsdev.c, and 2)
doesn't affect any known workloads - although the bugs would have
manifested when multi-range DCD dax devices are a thing (soon-ish).
Changes since v1:
* Dropped modes from patch 6 to fs/fuse/famfs.c and
fs/famfs/famfs_inode.c, which are not upstream so it broke
attempts to apply the series. Oops...
* Added patch 7, which addresses a previously-missed review comment
from Jonathan - minor cleanup
John Groves (7):
dax: fix misleading comment about share/index union in
dax_folio_reset_order()
dax/fsdev: fix multi-range offset, vmemmap_shift leak, and probe error
cleanup
dax/fsdev: fix kaddr for multi-range and fail probe on invalid pgmap
offset
dax/fsdev: clamp direct_access return to current physical range
dax: fix holder_ops race in fs_put_dax()
dax: replace exported dax_dev_get() with non-allocating dax_dev_find()
dax: fsdev.c minor formatting cleanup
drivers/dax/dax-private.h | 2 -
drivers/dax/fsdev.c | 104 ++++++++++++++++++++++++++------------
drivers/dax/super.c | 51 +++++++++++++++++--
fs/dax.c | 12 ++---
include/linux/dax.h | 6 ++-
5 files changed, 129 insertions(+), 46 deletions(-)
--
2.53.0