From 7499335588eabb578c4dab06263cd416a4f3b2d5 Mon Sep 17 00:00:00 2001 From: Vikas Gorur Date: Mon, 7 Dec 2009 04:40:57 +0000 Subject: cluster/afr: Hold inode lock on 0-infinity for a flush transaction. Signed-off-by: Vikas Gorur Signed-off-by: Anand V. Avati BUG: 326 ([2.0.8rc9] Spurious self-heal) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=326 --- xlators/cluster/afr/src/afr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/cluster/afr/src/afr.c') diff --git a/xlators/cluster/afr/src/afr.c b/xlators/cluster/afr/src/afr.c index c93d719d6..c2c579681 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); -- cgit