| To: | david@xxxxxxxxxxxxx, darrick.wong@xxxxxxxxxx |
|---|---|
| Subject: | [PATCH 47/71] xfs_db: deal with the CoW extent size hint |
| From: | "Darrick J. Wong" <darrick.wong@xxxxxxxxxx> |
| Date: | Thu, 25 Aug 2016 16:51:35 -0700 |
| Cc: | linux-xfs@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <147216879156.4420.2446767701729565218.stgit@xxxxxxxxxxxxxxxx> |
| References: | <147216879156.4420.2446767701729565218.stgit@xxxxxxxxxxxxxxxx> |
| User-agent: | StGit/0.17.1-dirty |
Display the CoW extent hint size when dumping inodes.
Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
---
db/inode.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/db/inode.c b/db/inode.c
index 702cdf8..cac19fc 100644
--- a/db/inode.c
+++ b/db/inode.c
@@ -172,12 +172,16 @@ const field_t inode_v3_flds[] = {
{ "change_count", FLDT_UINT64D, OI(COFF(changecount)), C1, 0, TYP_NONE
},
{ "lsn", FLDT_UINT64X, OI(COFF(lsn)), C1, 0, TYP_NONE },
{ "flags2", FLDT_UINT64X, OI(COFF(flags2)), C1, 0, TYP_NONE },
+ { "cowextsize", FLDT_EXTLEN, OI(COFF(cowextsize)), C1, 0, TYP_NONE },
{ "crtime", FLDT_TIMESTAMP, OI(COFF(crtime)), C1, 0, TYP_NONE },
{ "inumber", FLDT_INO, OI(COFF(ino)), C1, 0, TYP_NONE },
{ "uuid", FLDT_UUID, OI(COFF(uuid)), C1, 0, TYP_NONE },
{ "reflink", FLDT_UINT1,
OI(COFF(flags2) + bitsz(__uint64_t) - XFS_DIFLAG2_REFLINK_BIT-1), C1,
0, TYP_NONE },
+ { "cowextsz", FLDT_UINT1,
+ OI(COFF(flags2) + bitsz(__uint64_t) - XFS_DIFLAG2_COWEXTSIZE_BIT-1),
C1,
+ 0, TYP_NONE },
{ NULL }
};
|
| Previous by Date: | [PATCH 46/71] xfs_db: metadump should copy the refcount btree too, Darrick J. Wong |
|---|---|
| Next by Date: | [PATCH 48/71] xfs_db: print one array element per line, Darrick J. Wong |
| Previous by Thread: | [PATCH 46/71] xfs_db: metadump should copy the refcount btree too, Darrick J. Wong |
| Next by Thread: | [PATCH 48/71] xfs_db: print one array element per line, Darrick J. Wong |
| Indexes: | [Date] [Thread] [Top] [All Lists] |