From 23d22c981a3b460da4658ac75e9ad839a275fddc Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Mon, 17 Aug 2020 17:20:17 -0400 Subject: [PATCH] xfs_db: report the inode dax flag Report the inode DAX flag when we're printing an inode, just like we do for other v3 inode flags. Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig Reviewed-by: Carlos Maiolino Signed-off-by: Eric Sandeen --- db/inode.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/db/inode.c b/db/inode.c index 3ae5d18f9..f13150c96 100644 --- a/db/inode.c +++ b/db/inode.c @@ -172,6 +172,9 @@ const field_t inode_v3_flds[] = { { "cowextsz", FLDT_UINT1, OI(COFF(flags2) + bitsz(uint64_t) - XFS_DIFLAG2_COWEXTSIZE_BIT-1), C1, 0, TYP_NONE }, + { "dax", FLDT_UINT1, + OI(COFF(flags2) + bitsz(uint64_t) - XFS_DIFLAG2_DAX_BIT - 1), C1, + 0, TYP_NONE }, { NULL } }; -- 2.47.2