From 6b969c84b847927433bbe8466090d1c7970ea37c Mon Sep 17 00:00:00 2001 From: Brian Foster Date: Mon, 3 Dec 2012 15:50:39 -0500 Subject: afr: make flush non-transactional Flush is historically a transaction to ensure all previous writes were complete. This is no longer required as write-behind has learned to make flush a barrier operation (re: conversation w/ Avati). Flush taking a full file lock causes VMs running on afr volumes to stall when a migration occurs and self-heal is in progress. Make afr_flush() a non-transactional operation. BUG: 874045 Change-Id: If2db83823e280c86b1b29b41361eed7081601632 Signed-off-by: Brian Foster Reviewed-on: http://review.gluster.org/4261 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- xlators/cluster/afr/src/afr-transaction.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'xlators/cluster/afr/src/afr-transaction.c') diff --git a/xlators/cluster/afr/src/afr-transaction.c b/xlators/cluster/afr/src/afr-transaction.c index 32fb8d9a4..3ba8d9b56 100644 --- a/xlators/cluster/afr/src/afr-transaction.c +++ b/xlators/cluster/afr/src/afr-transaction.c @@ -1300,9 +1300,6 @@ out: void afr_delayed_changelog_post_op (xlator_t *this, call_frame_t *frame, fd_t *fd); -void -afr_delayed_changelog_wake_up (xlator_t *this, fd_t *fd); - void afr_delayed_changelog_wake_up_cbk (void *data) { -- cgit