cluster/afr: Hold inode lock on 0-infinity for a flush transaction.
Signed-off-by: Vikas Gorur <vikas@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 326 ([2.0.8rc9] Spurious self-heal) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=326
This commit is contained in:
parent
4fdfc9fdcc
commit
7499335588
@ -1397,7 +1397,7 @@ afr_flush (call_frame_t *frame, xlator_t *this, fd_t *fd)
|
||||
local->fd = fd_ref (fd);
|
||||
|
||||
local->transaction.main_frame = frame;
|
||||
local->transaction.start = LLONG_MAX - 1;
|
||||
local->transaction.start = 0;
|
||||
local->transaction.len = 0;
|
||||
|
||||
afr_transaction (transaction_frame, this, AFR_FLUSH_TRANSACTION);
|
||||
|
Loading…
x
Reference in New Issue
Block a user