diff options
author | Xavi Hernandez <xhernandez@redhat.com> | 2018-05-15 11:37:16 +0200 |
---|---|---|
committer | Xavi Hernandez <xhernandez@redhat.com> | 2018-05-23 22:51:37 +0200 |
commit | 676aae1ef168cb7ecad4eecd71b079a5d4995247 (patch) | |
tree | df549c2927746791cc7a5cc803edafa48fac3773 /libglusterfs/src/default-args.c | |
parent | 92839c5a4a6c87973e4f6f2f96b359e9c2a0f5c0 (diff) |
cluster/ec: Fix pre-op xattrop management
Multiple pre-op xattrop can be simultaneously being processed. On the cbk
it was checked if the fop was waiting for some specific data (like size and
version) and, if so, it was assumed that this answer should contain that
data.
This is not true, since a fop can be waiting for some data, but it may come
from the xattrop of another fop.
This patch differentiates between needing some information and providing it.
This is related to parallel writes. Disabling them fixed the problem, but
also prevented concurrent reads. A change has been made so that disabling
parallel writes still allows parallel reads.
Fixes: bz#1578325
Change-Id: I74772ad6b80b7b37805da93d5ec3ae099e96b041
Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>
Diffstat (limited to 'libglusterfs/src/default-args.c')
0 files changed, 0 insertions, 0 deletions