Difference between BTRFS_IOC_SYNC and BTRFS_IOC_START_SYNC/BTRFS_IOC_WAIT_SYNC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi *,

I was playing with the BTRFS_IOC_* ioctls and I noticed that there are 3 different ioctls related to syncing. So my question is, is the following

    ioctl(fd,BTRFS_IOC_SYNC);

equivalent to the following sequence:

    ioctl(fd,BTRFS_IOC_START_SYNC);
    ioctl(fd,BTRFS_IOC_WAIT_SYNC);

If not, what are their differences?

Thanks,
Aldo
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux