From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vivek Goyal Subject: Re: [Lsf] [RFC] writeback and cgroup Date: Tue, 10 Apr 2012 14:16:32 -0400 Message-ID: <20120410181631.GK21801__11027.8897024275$1334081808$gmane$org@redhat.com> References: <20120403183655.GA23106@dhcp-172-17-108-109.mtv.corp.google.com> <20120404145134.GC12676@redhat.com> <20120407080027.GA2584@quack.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Steve French Cc: ctalbott-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, Jan Kara , rni-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, andrea-oIIqvOZpAevzfdHfmsDf5w@public.gmane.org, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, lsf-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, jmoyer-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: containers.vger.kernel.org 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