Re: [dm-devel] lvmetad doesn't terminate with SIGTERM if thin volume used

2016-08-05 Thread james harvey
Same problem and question about if an immediate SIGKILL is OK for dmeventd. On Thu, Aug 4, 2016 at 11:20 PM, james harvey wrote: > Does it matter at all if lvmetad shuts down gracefully? > > Can I safely just have systemd right off the bat send a SIGKILL? > > Most

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

2016-08-05 Thread Bart Van Assche
On 08/05/2016 04:43 AM, Laurence Oberman wrote: Further testing has shown we are still exposed here so more investigation is necessary. The above patch seems to help but I still see sporadic cases of errors escaping up the stack. I expect you will see the same so more work to do here to

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

2016-08-05 Thread Bart Van Assche
On 08/04/2016 04:58 PM, Mike Snitzer wrote: I've staged another fix, Laurence is seeing success with this added: https://git.kernel.org/cgit/linux/kernel/git/device-mapper/linux-dm.git/commit/?h=dm-4.8=d50a6450104c237db1dc75314d17b78c990a8c05 Thanks Mike. I have started testing that fix this

Re: [dm-devel] bug: using smp_processor_id() in preemptible code in rr_select_path()

2016-08-05 Thread Jens Axboe
On 08/05/2016 10:06 AM, Mike Snitzer wrote: On Fri, Aug 05 2016 at 11:54am -0400, Jens Axboe wrote: On 08/05/2016 09:42 AM, Mike Snitzer wrote: On Fri, Aug 05 2016 at 11:33P -0400, Jens Axboe wrote: On 08/05/2016 09:27 AM, Mike Snitzer wrote: On Wed, Aug

Re: [dm-devel] bug: using smp_processor_id() in preemptible code in rr_select_path()

2016-08-05 Thread Mike Snitzer
On Fri, Aug 05 2016 at 11:54am -0400, Jens Axboe wrote: > On 08/05/2016 09:42 AM, Mike Snitzer wrote: > >On Fri, Aug 05 2016 at 11:33P -0400, > >Jens Axboe wrote: > > > >>On 08/05/2016 09:27 AM, Mike Snitzer wrote: > >>>On Wed, Aug 03 2016 at 11:35am -0400, >

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

2016-08-05 Thread Laurence Oberman
- Original Message - > From: "Laurence Oberman" > To: "Mike Snitzer" > Cc: "Bart Van Assche" , dm-devel@redhat.com, > linux-s...@vger.kernel.org > Sent: Friday, August 5, 2016 7:43:30 AM > Subject: Re: dm-mq and

[dm-devel] [git pull] device mapper fixes for 4.8-rc1

2016-08-05 Thread Mike Snitzer
Hi Linus, I'll be on vacation through Sunday 8/14 so I'd prefer to get you these DM fixes before I go. The following changes since commit f7b32e4c021fd788f13f6785e17efbc3eb05b351: Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux (2016-08-02 12:41:13

Re: [dm-devel] bug: using smp_processor_id() in preemptible code in rr_select_path()

2016-08-05 Thread Jens Axboe
On 08/05/2016 09:42 AM, Mike Snitzer wrote: On Fri, Aug 05 2016 at 11:33P -0400, Jens Axboe wrote: On 08/05/2016 09:27 AM, Mike Snitzer wrote: On Wed, Aug 03 2016 at 11:35am -0400, Benjamin Block wrote: Hej Mike, when running a debug-kernel

Re: [dm-devel] bug: using smp_processor_id() in preemptible code in rr_select_path()

2016-08-05 Thread Mike Snitzer
On Fri, Aug 05 2016 at 11:33P -0400, Jens Axboe wrote: > On 08/05/2016 09:27 AM, Mike Snitzer wrote: > >On Wed, Aug 03 2016 at 11:35am -0400, > >Benjamin Block wrote: > > > >>Hej Mike, > >> > >>when running a debug-kernel today with several

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

2016-08-05 Thread Bart Van Assche
On 08/05/2016 08:39 AM, Laurence Oberman wrote: > I completely forgot I had set no_path_retry=12, so after 12 retries it will > error out. > This is likely why I had different results seemingly affected by timing. > Mike reminded me of it this morning. > > What do you have set for no_path_retry,

Re: [dm-devel] bug: using smp_processor_id() in preemptible code in rr_select_path()

2016-08-05 Thread Jens Axboe
On 08/05/2016 09:27 AM, Mike Snitzer wrote: On Wed, Aug 03 2016 at 11:35am -0400, Benjamin Block wrote: Hej Mike, when running a debug-kernel today with several multipath-devices using the round-robin path selector I noticed that the kernel throws these warnings

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

2016-08-05 Thread Laurence Oberman
- Original Message - > From: "Laurence Oberman" > To: "Mike Snitzer" > Cc: "Bart Van Assche" , dm-devel@redhat.com, > linux-s...@vger.kernel.org > Sent: Thursday, August 4, 2016 9:07:28 PM > Subject: Re: dm-mq and