Re: [Cluster-devel] Disentangling address_space and inode

2020-06-10 Thread Steven Whitehouse
Hi, On 09/06/2020 13:41, Matthew Wilcox wrote: I have a modest proposal ... struct inode { - struct address_space i_data; } +struct minode { + struct inode i; + struct address_space m; +}; struct address_space { - struct inode *host; } This saves one pointer

[Cluster-devel] [PATCH] gfs2: Don't sleep during glock hash walk

2020-06-10 Thread Andreas Gruenbacher
In flush_delete_work, instead of flushing each individual pending delayed work item, cancel and re-queue them for immediate execution. The waiting isn't needed here because we're already waiting for all queued work items to complete in gfs2_flush_delete_work. This makes the code more efficient,