[dm-devel] [PATCH][RFC] dm: log writes target

Josef Bacik jbacik at fb.com
Thu Feb 5 16:56:41 UTC 2015


On 02/04/2015 01:41 PM, Mike Snitzer wrote:
> On Mon, Dec 08 2014 at  5:32P -0500,
> Josef Bacik <jbacik at fb.com> wrote:
>
>> This is my latest attempt at a target for testing power fail and fs consistency.
>> This is based on the idea Zach Brown had where we could just walk through all
>> the operations done to an fs in order to verify we're doing the correct thing.
>> There is a userspace component as well that can be found here
>>
>> https://github.com/josefbacik/log-writes
>>
>> It is very rough as I just threw it together to test the various aspects of how
>> you would want to replay a log to test it.  Again I would love feedback on this,
>> I really want to have something that we all think is usefull and eventually
>> incorporate it into xfstests.
>
> hey josef,
>
> i finally took a quick look at your target.  has this target proven
> useful to you (or others) since you posted?  would you still like to see
> this land upstream?
>
> i see no need to stack discard limits if discards are supported by the
> underlying device (you'll get that for free via blk_stack_limits).
>
> here is a patch that applies ontop of your original submission.  mostly
> whitespace (i'm not pedantic about 80 char limit, etc).  but i did
> include some small improvements and FIXMEs/questions in the patch:
>

Hello,

Yup I still want to land this upstream, I've been using it to find 
balance bugs and other things in btrfs.  With the holidays and all my 
family medical things going on recently I haven't had as much time to 
put into this as I wanted but I've made some improvements to it 
recently.  My plan was to wait until LSF so I could present my ideas to 
all the FS and DM guys at the same time to make sure we were happy with 
this approach and then submit shortly after that.

I will apply this and look through the FIXME's soon and send another 
update to make sure things still look good.  Thanks for looking at this,

Josef




More information about the dm-devel mailing list