summaryrefslogtreecommitdiffstats
path: root/xlators/performance/write-behind/src/write-behind.c
diff options
context:
space:
mode:
authorN Balachandran <nbalacha@redhat.com>2019-03-27 10:07:11 +0530
committerRaghavendra G <rgowdapp@redhat.com>2019-03-27 10:48:12 +0530
commit7cbf23bbc61879e7af70bbb2b42951a73966f3c6 (patch)
treef7e8ac0c2536f4a4d47b157cbb380ac81dca6b0c /xlators/performance/write-behind/src/write-behind.c
parent2a872bbcdedb6218e666ebcd1827d59a99912eb1 (diff)
cluster/dht: sync brick root perms on add brick
If a single brick is added to the volume and the newly added brick is the first to respond to a dht_revalidate call, its stbuf will not be merged into local->stbuf as the brick does not yet have a layout. The is_permission_different check therefore fails to detect that an attr heal is required as it only considers the stbuf values from existing bricks. To fix this, merge all stbuf values into local->stbuf and use local->prebuf to store the correct directory attributes. Change-Id: Ic9e8b04a1ab9ed1248b6b056e3450bbafe32e1bc fixes: bz#1693057 Signed-off-by: N Balachandran <nbalacha@redhat.com>
Diffstat (limited to 'xlators/performance/write-behind/src/write-behind.c')
0 files changed, 0 insertions, 0 deletions