summaryrefslogtreecommitdiffstats
path: root/rfc.sh
diff options
context:
space:
mode:
authorN Balachandran <nbalacha@redhat.com>2019-02-06 09:58:55 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2019-02-22 03:34:36 +0000
commit951abf5c53d4658b86b00ffb1147989c07527c3f (patch)
treeaf30ada36fb1bf6671a6ad8e49b5efa7e1b2197d /rfc.sh
parent5c9b2dfb4d251cc0201759c495bbd4d1ad5e3c87 (diff)
cluster/dht: Request linkto xattrs in dht_rmdir opendir
If parallel-readdir is enabled, the rda xlator is loaded below dht in the graph and proactively lists and caches entries when an opendir is performed. dht_rmdir checks if the directory being deleted contains stale linkto files by performing a readdirp on its child subvols. However, as the entries are actually read in during the opendir operation which does not request the linkto xattr,no linkto xattrs are present for the entries causing dht to incorrectly identify them as data files and fail the rmdir operation with ENOTEMPTY. DHT now always adds the linkto xattr in the list of xattrs requested in the opendir. Change-Id: I0711198e66c59146282eb8b88084170bedfb4018 fixes: bz#1679004 Signed-off-by: N Balachandran <nbalacha@redhat.com>
Diffstat (limited to 'rfc.sh')
0 files changed, 0 insertions, 0 deletions