On Tue, Jun 1, 2010 at 3:01 AM, Bruce Guenter <br...@untroubled.org> wrote: > On Wed, May 12, 2010 at 01:02:07PM +0800, Yan, Zheng wrote: >> Dropping a tree can be lengthy. It's not good to let sync wait for hours. >> For most linux FS, 'sync' just force an transaction/journal commit. I don't >> think they wait for large operations that can span multiple transactions to >> complete. > > What happens to the consistency of the filesystem if a crash happens > during this process? >
This does not break the consistency of the filesystem. Next mount will find the partial dropped tree and restart the dropping process. Yan, Zheng -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html