Skip to contentSkip to conversation

GFS2 disable writepages

Cluster-devel Russell Cattelan 2 participants 2 messages Jan 27, 2007 – Jan 29, 2007 GFS2 file system

lore
Share & tools
lore
#0 lore raw

Writepages is causing deadlocks.

Signature · 9 lines
Russell Cattelan <[email protected]>
-------------- next part --------------
commit 45ad1874be26eda4dbb34468ae148d9acaeffdcf
Author: Russell Cattelan <[email protected]>
Date:   Fri Jan 26 18:06:50 2007 -0600

    Disable writepages for the moment since it is causing deadlocks
    
    Signed-off-by: Russell Cattelan <[email protected]>
fs/gfs2/ops_address.c +2 -1
index 9ddf975..65f6e8b 100644
@@ -783,7 +783,8 @@ out:
 
 const struct address_space_operations gfs2_file_aops = {
 	.writepage = gfs2_writepage,
-	.writepages = gfs2_writepages,
+	/* this is causing deadlocks currently, disable for the moment */
+	/*	.writepages = gfs2_writepages, */
 	.readpage = gfs2_readpage,
 	.readpages = gfs2_readpages,
 	.sync_page = block_sync_page,
#1 lore raw

Hi,

Quoted 3 lines · Russell Cattelan

Writepages is causing deadlocks.

Under what circumstances is it causing deadlocks? Was this with data=writeback or data=ordered or both?

Steve.