[PATCH 0/3] Migrate zero page DAX bit from DAX_ZERO_PAGE to XA_ZERO_ENTRY

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patchset changes the representation in the NVDIMM DAX driver for a hole
in a file. It was previously represented by DAX_ZERO_PAGE, which was set as
1UL << 2.

Patch 1 migrates to XArray's XA_ZERO_ENTRY and registers the new
definition for XA_ZERO_PMD_ENTRY, which is used in dax_pmd_load_hole() to
represent whether a file is a PMD entry or a zero entry. Patch 2 shifts
the bit for DAX_EMPTY down from 1UL << 3 to 1UL << 2, as DAX_ZERO_ENTRY no
longer exists. Patch 3 corrects the terminology used above the definitions
for the DAX bits.

I tested this under xfstests with XFS+DAX for a 20 GiB NVDIMM and did not
observe any regressions.

Amy Parker (3):
 fs: dax.c: move fs hole signifier from DAX_ZERO_PAGE to XA_ZERO_ENTRY
 fs: dax.c: move down bit DAX_EMPTY
 fs: dax.c: correct terminology used in DAX bit definitions

 fs/dax.c | 29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)


--
2.29.2



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux