[dm-devel] blkio cgroups controller doesn't work with LVM?

2016-02-25 Thread Chris Friesen
Hi, Are there known limitations with the blkio cgroup controller when used with LVM? I'm using Ubuntu 15.10 with the 4.2 kernel. I got the same results with CentOS 7. I set up two groups, /sys/fs/cgroup/blkio/test1 and /sys/fs/cgroup/blkio/test2. I set the weight for test1 to 500, and the

Re: [dm-devel] blkio cgroups controller doesn't work with LVM?

2016-02-25 Thread Mike Snitzer
On Thu, Feb 25 2016 at 2:48am -0500, Nikolay Borisov wrote: > > > On 02/24/2016 08:12 PM, Chris Friesen wrote: > > > > Hi, > > > > Are there known limitations with the blkio cgroup controller when used > > with LVM? > > > > I'm using Ubuntu 15.10 with the 4.2 kernel. I got the same results

Re: [dm-devel] blkio cgroups controller doesn't work with LVM?

2016-02-25 Thread Chris Friesen
On 02/25/2016 08:53 AM, Mike Snitzer wrote: On Thu, Feb 25 2016 at 2:48am -0500, Nikolay Borisov wrote: On 02/24/2016 08:12 PM, Chris Friesen wrote: Are there known limitations with the blkio cgroup controller when used with LVM? I'm using Ubuntu 15.10 with the 4.2 kernel. I got the same r

Re: [dm-devel] [PATCH]multipath-tools: prevent unnecessary reinstate of stand-by paths with implicit tpgs mode and no active array paths.

2016-02-25 Thread Benjamin Marzinski
On Sat, Feb 20, 2016 at 08:23:29PM +, Shiva Krishna wrote: I understand your problem, but this isn't the right patch to fix it. For one this check + if (newstate != PATH_GHOST || pp->mpp->nr_active > 0 || + pp->tpgs != TPGS_IMPLICIT) { is pretty problematic.

Re: [dm-devel] [PATCH]multipath-tools: prevent unnecessary reinstate of stand-by paths with implicit tpgs mode and no active array paths.

2016-02-25 Thread Shiva Krishna
On 2/25/16, 12:49 PM, "Benjamin Marzinski" wrote: >On Sat, Feb 20, 2016 at 08:23:29PM +, Shiva Krishna wrote: > >I understand your problem, but this isn't the right patch to fix it. For >one this check > >+ if (newstate != PATH_GHOST || pp->mpp->nr_active > 0 || >+

[dm-devel] [PATCH V2]multipath-tools: prevent unnecessary reinstate of stand-by paths with implicit tpgs mode and no active array paths

2016-02-25 Thread Shiva Krishna
multipathd treats "stand-by" path as active(ghost) and reinstate path.This causes I/O hang issues and lots of "change" udev events in cases where only stand-by paths are present in multipath map and target supports only implicit tpgs mode(active/passive arrays) This can happen during system boot w

Re: [dm-devel] [PATCH]multipath-tools: prevent unnecessary reinstate of stand-by paths with implicit tpgs mode and no active array paths.

2016-02-25 Thread Hannes Reinecke
On 02/26/2016 04:49 AM, Benjamin Marzinski wrote: > On Sat, Feb 20, 2016 at 08:23:29PM +, Shiva Krishna wrote: > > I understand your problem, but this isn't the right patch to fix it. For > one this check > > + if (newstate != PATH_GHOST || pp->mpp->nr_active > 0 || > +