]> rtime.felk.cvut.cz Git - linux-imx.git/commit
Btrfs: add DEVICE_READY ioctl
authorJosef Bacik <jbacik@fusionio.com>
Thu, 21 Jun 2012 20:03:58 +0000 (16:03 -0400)
committerChris Mason <chris.mason@fusionio.com>
Mon, 23 Jul 2012 20:27:42 +0000 (16:27 -0400)
commit02db0844beffc1c4e99d750be58ffb3ed95d6d62
treeee82fa926f2900e24a1ca76eab6a85a32f453898
parent96c3f4331a8c1cd0a58307e4ac7e73e09d7dab23
Btrfs: add DEVICE_READY ioctl

This will be used in conjunction with btrfs device ready <dev>.  This is
needed for initrd's to have a nice and lightweight way to tell if all of the
devices needed for a file system are in the cache currently.  This keeps
them from having to do mount+sleep loops waiting for devices to show up.
Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/ioctl.h
fs/btrfs/super.c
fs/btrfs/volumes.c
fs/btrfs/volumes.h