[Cluster-devel] [PATCH V8 12/18] block: allow bio_for_each_segment_all() to iterate over multi-page bvec

2018-11-09 Thread Ming Lei
This patch introduces one extra iterator variable to bio_for_each_segment_all(), then we can allow bio_for_each_segment_all() to iterate over multi-page bvec. Given it is just one mechannical & simple change on all bio_for_each_segment_all() users, this patch does tree-wide change in one single

Re: [Cluster-devel] [PATCH 0/3] dlm: fix various incorrect behaviors

2018-11-09 Thread Tycho Andersen
On Wed, Nov 07, 2018 at 04:20:42PM -0600, David Teigland wrote: > On Fri, Nov 02, 2018 at 02:18:19PM -0600, Tycho Andersen wrote: > > Hi, > > > > here's a series to fix some bugs I noticed in the DLM. The third patch > > in the series and maybe the first should probably go to stable, assuming > >

[Cluster-devel] [PATCH] gfs2: Fix metadata read-ahead during truncate (2)

2018-11-09 Thread Andreas Gruenbacher
The previous attempt to fix for metadata read-ahead during truncate was incorrect: for files with a height > 2 (1006989312 bytes with a block size of 4096 bytes), read-ahead requests were not being issued for some of the indirect blocks discovered while walking the metadata tree, leading to

Re: [Cluster-devel] [DLM PATCH] dlm: Don't swamp the CPU with callbacks queued during recovery

2018-11-09 Thread Steven Whitehouse
Hi, On 08/11/18 19:04, Bob Peterson wrote: Hi, Before this patch, recovery would cause all callbacks to be delayed, put on a queue, and afterward they were all queued to the callback work queue. This patch does the same thing, but occasionally takes a break after 25 of them so it won't swamp