Btrfs-progs: add btrfs device ready command
authorJosef Bacik <jbacik@fusionio.com>
Sat, 19 Jan 2013 18:06:20 +0000 (13:06 -0500)
committerDavid Sterba <dsterba@suse.cz>
Wed, 23 Jan 2013 18:41:27 +0000 (19:41 +0100)
commitce814a93788c3289f50d383ea104fad1f66a16f8
tree4a043b32bf3b9b888b97b0301293f19ff6b40cc8
parent124053b1d9f7425b8a2dac02907222d99927e779
Btrfs-progs: add btrfs device ready command

This command will be used by things like dracut that wish to know very
simply if all of the devices have been added to the kernel cache yet for the
device to be fully mounted.  This keeps initrd's from constantly having to
try to mount the file system until it succeeds every time a device is added
to the system.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Gene Czarcinski <gene@czarc.net>
cmds-device.c
ioctl.h