Re: [dm-devel] [RFC PATCH 2/2] mm, mempool: do not throttle PF_LESS_THROTTLE tasks

2016-07-26 Thread NeilBrown
On Tue, Jul 26 2016, Mikulas Patocka wrote: > On Sat, 23 Jul 2016, NeilBrown wrote: > >> "dirtying ... from the reclaim context" ??? What does that mean? >> According to >> Commit: 26eecbf3543b ("[PATCH] vm: pageout throttling") >> From the history tree, the purpose of throttle_vm_writeout() is

Re: [dm-devel] [RFC PATCH 2/2] mm, mempool: do not throttle PF_LESS_THROTTLE tasks

2016-07-26 Thread NeilBrown
On Mon, Jul 25 2016, Michal Hocko wrote: > On Sat 23-07-16 10:12:24, NeilBrown wrote: >> Maybe that is impractical, but having firm rules like that would go a >> long way to make it possible to actually understand and reason about how >> MM works. As it is, there seems to be a tendency to put ba

Re: [dm-devel] dm-mq and end_clone_request()

2016-07-26 Thread Bart Van Assche
On 07/25/2016 06:15 PM, Mike Snitzer wrote: > Please try this patch to see if it fixes your issue, thanks. > > diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c > index 52baf8a..287caa7 100644 > --- a/drivers/md/dm-mpath.c > +++ b/drivers/md/dm-mpath.c > @@ -433,10 +433,17 @@ failed: >

[dm-devel] [git pull] device mapper changes for 4.8

2016-07-26 Thread Mike Snitzer
Hi Linus, As noted in my tag message, these DM changes for 4.8 build ontop of Jens' block 'for-4.8/core' branch. When pulling these DM change you will encounter a merge conflict with Jens' 'for-4.8/drivers' branch. Like Stephen Rothwell before me, I've resolved this merge conflict and published

Re: [dm-devel] dm-mq and end_clone_request()

2016-07-26 Thread Mike Snitzer
On Tue, Jul 26 2016 at 2:02am -0400, Hannes Reinecke wrote: > On 07/25/2016 07:53 PM, Mike Snitzer wrote: > > > >The various ioctls you're seeing is just multipathd responding to the > >failures. Part of reloading a table (with revised path info, etc) is to > >suspend and then resume the device

Re: [dm-devel] bcache super block corruption with non 4k pages

2016-07-26 Thread Stefan Bader
On 21.07.2016 10:58, Stefan Bader wrote: > I was pointed at the thread which seems to address the same after > I wrote most of below text. Did not want to re-write this so please > bear with the odd layout. > > https://www.redhat.com/archives/dm-devel/2016-June/msg00015.html > > Zhengyuan tries t

Re: [dm-devel] bcache super block corruption with non 4k pages

2016-07-26 Thread Stefan Bader
On 26.07.2016 12:21, Kent Overstreet wrote: > On Tue, Jul 26, 2016 at 11:51:25AM +0200, Stefan Bader wrote: >> On 21.07.2016 10:58, Stefan Bader wrote: >>> I was pointed at the thread which seems to address the same after >>> I wrote most of below text. Did not want to re-write this so please >>> b

Re: [dm-devel] bcache super block corruption with non 4k pages

2016-07-26 Thread Kent Overstreet
On Tue, Jul 26, 2016 at 11:51:25AM +0200, Stefan Bader wrote: > On 21.07.2016 10:58, Stefan Bader wrote: > > I was pointed at the thread which seems to address the same after > > I wrote most of below text. Did not want to re-write this so please > > bear with the odd layout. > > > > https://www.r

Re: [dm-devel] bcache super block corruption with non 4k pages

2016-07-26 Thread Kent Overstreet
On Tue, Jul 26, 2016 at 02:32:31PM +0200, Stefan Bader wrote: > On 26.07.2016 12:21, Kent Overstreet wrote: > > On Tue, Jul 26, 2016 at 11:51:25AM +0200, Stefan Bader wrote: > >> On 21.07.2016 10:58, Stefan Bader wrote: > >>> I was pointed at the thread which seems to address the same after > >>> I

[dm-devel] [PATCH] libmultipath:fix memory leak in path group policies

2016-07-26 Thread zhang . kai16
From: "zhang.kai" In the path group functions, memory leak would happen if the exceptional situation were met. Signed-off-by: zhang.kai --- libmultipath/pgpolicies.c | 79 +-- 1 file changed, 49 insertions(+), 30 deletions(-) diff --git a/libmultip

Re: [dm-devel] [RFC PATCH 2/2] mm, mempool: do not throttle PF_LESS_THROTTLE tasks

2016-07-26 Thread Michal Hocko
On Mon 25-07-16 17:52:17, Mikulas Patocka wrote: > > > On Sat, 23 Jul 2016, NeilBrown wrote: > > > "dirtying ... from the reclaim context" ??? What does that mean? > > According to > > Commit: 26eecbf3543b ("[PATCH] vm: pageout throttling") > > From the history tree, the purpose of throttle_vm

Re: [dm-devel] [RFC PATCH 2/2] mm, mempool: do not throttle PF_LESS_THROTTLE tasks

2016-07-26 Thread Michal Hocko
On Mon 25-07-16 21:23:44, Michal Hocko wrote: > [CC Marcelo who might remember other details for the loads which made > him to add this code - see the patch changelog for more context] > > On Mon 25-07-16 10:32:47, Michal Hocko wrote: [...] > From 0d950d64e3c59061f7cca71fe5877d4e430499c9 Mon Sep