On Wed, Mar 2, 2011 at 7:12 AM, Brian J. Murrell <brian@xxxxxxxxxxxxxxx> wrote: > Given that the return from the snapshot delete command is immediate and > the space is freed asynchronously, how can I determine absolutely that > the snapshot has been entirely removed and the space freeing operation > is complete? > > Cheers, > b. since you just want to determine, and not wait, patch your kernel, then invoke ioctl#21 with flags of 0x0000 and timeout of 0x0001. you will have an answer in approximately one millisecond. -- "Reasonable, civil, and intelligent people have not left much of a mark on history." -- T. Herman Zweibel -- 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
