From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bombadil.infradead.org ([198.137.202.9]:39583 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752965AbbKXIu0 (ORCPT ); Tue, 24 Nov 2015 03:50:26 -0500 Date: Tue, 24 Nov 2015 00:50:25 -0800 From: Christoph Hellwig To: Martin Steigerwald Cc: Christoph Hellwig , linux-btrfs@vger.kernel.org, David Howells , arnd@arndb.de, linux-afs@vger.kernel.org, linux-nfs@vger.kernel.org, linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org Subject: Re: [RFC][PATCH 00/12] Enhanced file stat system call Message-ID: <20151124085025.GA22398@infradead.org> References: <20151120145422.18930.72662.stgit@warthog.procyon.org.uk> <1502878.QisWlqATFu@merkaba> <20151124081308.GB8840@infradead.org> <51731897.vGpjiNuy9t@merkaba> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <51731897.vGpjiNuy9t@merkaba> Sender: linux-btrfs-owner@vger.kernel.org List-ID: On Tue, Nov 24, 2015 at 09:48:22AM +0100, Martin Steigerwald wrote: > It might be interesting for BTRFS as well, to be able to ask what amount of > free space there currently is *at* a given path. Cause with BTRFS and > Subvolumes this may differ between different paths. We can handle this trivial with the current statfs interface. Take a look at xfs_fs_statfs and xfs_qm_statvfs.