diff options
author | Vikas Gorur <vikas@gluster.com> | 2009-12-07 04:40:57 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-12-07 05:31:29 -0800 |
commit | 7499335588eabb578c4dab06263cd416a4f3b2d5 (patch) | |
tree | 1849b66dd34453ba03202a508136974bf1f40e3f /xlators/cluster/afr/src/afr.c | |
parent | 4fdfc9fdcce340209d35e62f585c5897ca2a1104 (diff) |
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
Diffstat (limited to 'xlators/cluster/afr/src/afr.c')
-rw-r--r-- | xlators/cluster/afr/src/afr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr.c b/xlators/cluster/afr/src/afr.c index c93d719d639..c2c57968194 100644 --- a/xlators/cluster/afr/src/afr.c +++ b/xlators/cluster/afr/src/afr.c @@ -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); |