diff options
Diffstat (limited to 'xlators/features/bit-rot/src')
| -rw-r--r-- | xlators/features/bit-rot/src/bitd/bit-rot-scrub.c | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c b/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c index 2f7ec09697b..cb04235cb03 100644 --- a/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c +++ b/xlators/features/bit-rot/src/bitd/bit-rot-scrub.c @@ -342,10 +342,18 @@ br_scrubber_scrub_begin (xlator_t *this, struct br_fsscan_entry *fsentry)                  goto unref_inode;          } +        if (IS_DHT_LINKFILE_MODE ((&iatt))) { +                gf_msg_debug (this->name, 0, "%s is a dht sticky bit file", +                              entry->d_name); +                ret = 0; +                goto unref_inode; +        } +          /* skip updating scrub statistics for shard entries */          gf_uuid_parse (SHARD_ROOT_GFID, shard_root_gfid);          if (gf_uuid_compare (loc.pargfid, shard_root_gfid) == 0)                  skip_stat = _gf_true; +          /**           * open() an fd for subsequent opertaions           */  | 
