diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2019-04-17 00:16:49 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2019-04-22 14:03:35 +0000 |
commit | a0814b96828505441fbb7f1801e751d98f5a1cc0 (patch) | |
tree | b759e09776e1d822245520307b574c9a176a6b46 /contrib | |
parent | d9bfccc8425befa5d13058b5f5352598a2085161 (diff) |
features/sdfs: Assign unique lk-owner for entrylk fop
sdfs is supposed to serialize entry fops by doing entrylk, but all the locks
are being done with all-zero lk-owner. In essence sdfs doesn't achieve its goal
of mutual exclusion when conflicting operations are executed by same client
because two locks on same entry with same all-zero-owner will get locks.
Fixed this up by assigning lk-owner before taking entrylk
updates bz#1624701
Change-Id: Ifabfc998c9f1724915d38e90ed8287e05797d769
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions