Re: Making statfs return qgroup info (for container use case etc.)

2016-10-09 Thread Dave Chinner
On Fri, Oct 07, 2016 at 06:58:47PM +0200, David Sterba wrote: > On Fri, Oct 07, 2016 at 09:40:11AM +1100, Dave Chinner wrote: > > XFS does this with directory tree quotas. It was implmented 10 years > > ago or so, IIRC... > > Sometimes, the line between a historical remark and trolling is thin

Re: Making statfs return qgroup info (for container use case etc.)

2016-10-07 Thread David Sterba
On Fri, Oct 07, 2016 at 09:40:11AM +1100, Dave Chinner wrote: > XFS does this with directory tree quotas. It was implmented 10 years > ago or so, IIRC... Sometimes, the line between a historical remark and trolling is thin -- To unsubscribe from this list: send the line "unsubscribe linux-btrf

Re: Making statfs return qgroup info (for container use case etc.)

2016-10-07 Thread David Sterba
On Thu, Oct 06, 2016 at 02:51:58PM +0100, Tim Small wrote: > I use btrfs for containers (e.g. full OS style containers using lxc/lxd > etc. rather than application containers). btrfs de-duplication and > send/receive are very useful features for this use-case. > > Each container runs in its own s

Re: Making statfs return qgroup info (for container use case etc.)

2016-10-06 Thread Dave Chinner
On Thu, Oct 06, 2016 at 02:51:58PM +0100, Tim Small wrote: > Hello, > > I use btrfs for containers (e.g. full OS style containers using lxc/lxd > etc. rather than application containers). btrfs de-duplication and > send/receive are very useful features for this use-case. > > Each container runs

Making statfs return qgroup info (for container use case etc.)

2016-10-06 Thread Tim Small
Hello, I use btrfs for containers (e.g. full OS style containers using lxc/lxd etc. rather than application containers). btrfs de-duplication and send/receive are very useful features for this use-case. Each container runs in its own subvolume, and I use quotas to stop one container exhausting t