]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: add a "df" ioctl for btrfs
authorJosef Bacik <josef@redhat.com>
Wed, 13 Jan 2010 18:19:06 +0000 (18:19 +0000)
committerChris Mason <chris.mason@oracle.com>
Mon, 15 Mar 2010 15:00:14 +0000 (11:00 -0400)
commit706340a7f6ebdbd046e61f36aabe07a2b0c12667
tree40cafa639095b1a652cd013746394b7a77e52b69
parent35b3006fbc6c8452f92c42d0dbd738a16b934b61
Btrfs: add a "df" ioctl for btrfs

df is a very loaded question in btrfs.  This gives us a way to get the per-space
usage information so we can tell exactly what is in use where.  This will help
us figure out ENOSPC problems, and help users better understand where their disk
space is going.

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ioctl.c
fs/btrfs/ioctl.h