Re: [PATCH V3 2/2] Btrfs: fix the snapshot that should not exist
From: David Sterba <hidden>
Date: 2012-08-08 13:38:44
Attachments
- test-subvol.tgz [application/octet-stream] 848 bytes
From: David Sterba <hidden>
Date: 2012-08-08 13:38:44
On Sat, Aug 04, 2012 at 01:53:28PM +0800, Miao Xie wrote:
But I'm not sure these two bugs is the same, so I need the test tool of David to look into it.
Attached. It's a set of scripts and has a few assumptions hardcoded, like where the tar srouce is and the name of extracted directory, so it'll need a few tweaks. Also the actions are started inside a tmux session for convenience. The expected stress load is to generate lots of files and directories, snapshot create and delete and rm of the untarred directory. The 'rm' step is delayed a few minutes so the tar generates enough data. On some hosts the rm phase is fast and will clean the untar directory too quickly. david