public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: Lutz Vieweg <lvml@5t9.de>
Cc: xfs@oss.sgi.com
Subject: Re: Does XFS support cgroup writeback limiting?
Date: Tue, 24 Nov 2015 07:26:19 +1100	[thread overview]
Message-ID: <20151123202619.GE26718@dastard> (raw)
In-Reply-To: <5652F311.7000406@5t9.de>

On Mon, Nov 23, 2015 at 12:05:53PM +0100, Lutz Vieweg wrote:
> Hi,
> 
> 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. however....

> The generic cgroup writeback support made it into mainline
> linux-4.2, I tried to find information on whether other filesystems
> had meanwhile been adapted, but couldn't find this piece of information.
> 
> Therefore I'd like to ask: Does XFS (as of linux-4.3 or linux-4.4)
> support limiting the quantity of buffered writes using control groups?

.... 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....

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

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

  reply	other threads:[~2015-11-23 20:26 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 [this message]
2015-11-23 22:08   ` Lutz Vieweg
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=20151123202619.GE26718@dastard \
    --to=david@fromorbit.com \
    --cc=lvml@5t9.de \
    --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