public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Lutz Vieweg <lvml@5t9.de>
To: Dave Chinner <david@fromorbit.com>
Cc: xfs@oss.sgi.com
Subject: Re: Does XFS support cgroup writeback limiting?
Date: Mon, 23 Nov 2015 23:08:42 +0100	[thread overview]
Message-ID: <56538E6A.6030203@5t9.de> (raw)
In-Reply-To: <20151123202619.GE26718@dastard>

On 11/23/2015 09:26 PM, Dave Chinner wrote:
> On Mon, Nov 23, 2015 at 12:05:53PM +0100, Lutz Vieweg wrote:
>> in June 2015 the article https://lwn.net/Articles/648292/ mentioned
>> upcoming support for limiting the quantity of buffered writes
>> using control groups.
>>
>> Back then, only ext4 was said to support that feature, with other
>> filesystems requiring some minor changes to do the same.
>
> Yes, changing the kernel code to support this functionality is about
> 3 lines of code.

Oh, I didn't expect it to be such a small change :-)

> .... I haven't added support to XFS because I have no way of
> verifying the functionality works and that it continues to work as
> it is intended. i.e. we have no regression test coverage for cgroup
> aware writeback and until someone writes a set of regression tests
> that validate it's functionality works correctly it will remain this
> way.
>
> Writing code is trivial. Validating the code actually works as
> intended and doesn't silently get broken in the future is the
> hard part....

Understood, would you anyway be willing to publish such a
three-line-patch (outside of official releases) for those
daredevils (like me :-)) who'd be willing to give it a try?

After all, this functionality is the last piece of the
"isolation"-puzzle that is missing from Linux to actually
allow fencing off virtual machines or containers from DOSing
each other by using up all I/O bandwidth...

Regards,

Lutz Vieweg

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  reply	other threads:[~2015-11-23 22:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-23 11:05 Does XFS support cgroup writeback limiting? Lutz Vieweg
2015-11-23 20:26 ` Dave Chinner
2015-11-23 22:08   ` Lutz Vieweg [this message]
2015-11-23 23:20     ` Dave Chinner
2015-11-25 18:28       ` Lutz Vieweg
2015-11-25 21:35         ` Dave Chinner
2015-11-29 21:41           ` Lutz Vieweg
2015-11-30 23:44             ` Dave Chinner
2015-12-01  8:38             ` automatic testing of cgroup writeback limiting (was: Re: Does XFS support cgroup writeback limiting?) Martin Steigerwald
2015-12-01 16:38               ` Tejun Heo
2015-12-03  0:18                 ` automatic testing of cgroup writeback limiting Lutz Vieweg
2015-12-03 15:38                   ` Tejun Heo
2015-12-01 11:01           ` I/O 'owner' DoS probs (was Re: Does XFS support cgroup writeback limiting?) L.A. Walsh
2015-12-01 20:18             ` Dave Chinner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56538E6A.6030203@5t9.de \
    --to=lvml@5t9.de \
    --cc=david@fromorbit.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox