[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120410181631.GK21801@redhat.com>
Date: Tue, 10 Apr 2012 14:16:32 -0400
From: Vivek Goyal <vgoyal@...hat.com>
To: Steve French <smfrench@...il.com>
Cc: Jan Kara <jack@...e.cz>, ctalbott@...gle.com, rni@...gle.com,
andrea@...terlinux.com, containers@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org, lsf@...ts.linux-foundation.org,
linux-mm@...ck.org, jmoyer@...hat.com, lizefan@...wei.com,
cgroups@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: [Lsf] [RFC] writeback and cgroup
On Tue, Apr 10, 2012 at 11:23:16AM -0500, Steve French wrote:
[..]
> In the case of block device throttling - other than the file system
> internally using such APIs who would use block device specific
> throttling - only the file system knows where it wants to put hot data,
> and in the case of btrfs, doesn't the file system manage the
> storage pool. The block device should be transparent to the
> user in the long run, and only the volume visible.
This is a good point. I guess this goes back to Jan's question of what's
the intended use case of absolute throttling. Having a dependency on
per device limits has the drawback of user knowing exactly the details
of storage stack and it assumes that there is one single aggregation point
of block devices. (Which is not true in case of btrfs).
If user is simply looking for something like that I don't want a backup
process to be writing at more than 50MB/s (so that other processes doing
IO to same filesystem are effected less), then it is a case of global
throttling and per device throttling really does not gel well.
Thanks
Vivek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists