]> git.baikalelectronics.ru Git - kernel.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)
commitf395158c6fc4e567e2ed9afa0c4a7bf179380736
treeee82fa926f2900e24a1ca76eab6a85a32f453898
parentdf690d6d318c6a0d6ee6f899e4383c6355fcb766
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