diff options
author | N Balachandran <nbalacha@redhat.com> | 2018-05-04 10:34:13 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2018-05-09 03:46:36 +0000 |
commit | 2d3b44641dc7820043eae37572292b7b3cc26625 (patch) | |
tree | 1e248b7b3f7ca313e36fe7e6da51a0b80da37cc0 /xlators/cluster/dht/src/dht-common.h | |
parent | d3e3b11d38b927cf849d2d7a20460650963fd438 (diff) |
cluster/dht: Debug virtual xattrs for dht
Provide a virtual xattr with which to query
the hashed subvol for a file.
Change-Id: Ic7abd031f875da4b9084841ea7c25d6c8a851992
fixes: bz#1574421
Signed-off-by: N Balachandran <nbalacha@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.h')
-rw-r--r-- | xlators/cluster/dht/src/dht-common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/dht-common.h b/xlators/cluster/dht/src/dht-common.h index 999a7874a22..b82d3c4d267 100644 --- a/xlators/cluster/dht/src/dht-common.h +++ b/xlators/cluster/dht/src/dht-common.h @@ -45,6 +45,12 @@ #define DHT_DIR_STAT_BLOCKS 8 #define DHT_DIR_STAT_SIZE 4096 + +/* Virtual xattrs for debugging */ + +#define DHT_DBG_HASHED_SUBVOL_KEY "dht.file.hashed-subvol" + + /* Array to hold custom xattr keys */ extern char *xattrs_to_heal[]; |