Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1309614 > unrolled thread

Re: crashblk: a block device crash emulator.

Started byAndreas Dilger <adilger@dilger.ca>
First post2016-01-14 20:50 +0100
Last post2016-01-15 21:20 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: crashblk: a block device crash emulator. Andreas Dilger <adilger@dilger.ca> - 2016-01-14 20:50 +0100
    Re: crashblk: a block device crash emulator. Josef Bacik <jbacik@fb.com> - 2016-01-15 21:20 +0100

#1309614 — Re: crashblk: a block device crash emulator.

FromAndreas Dilger <adilger@dilger.ca>
Date2016-01-14 20:50 +0100
SubjectRe: crashblk: a block device crash emulator.
Message-ID<qQW4b-3gr-35@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

On Jan 13, 2016, at 6:50 PM, Takashi HOSHINO <hoshino@labs.cybozu.co.jp> wrote:
> 
> Hi all,
> 
> I'm developing 'crashblk'.
> It is a memory block device driver to emulate crash, IO error,
> and various response time.

Why not use/improve dm-flakey for this, rather than making yet another
device that does something similar?

Cheers, Andreas

> The source code repository is here:
> https://github.com/starpos/crashblk/
> 
> It is very useful to test wrapper block device drivers,
> and must be useful to test filesystems also.
> I used it to test WalB (https://walb-linux.github.io/),
> which is a wrapper block device driver for backup and asynchronous
> replication, and found/confirmed several bugs.
> 
> If you are interested in crashblk, try it and give me feedback!
> Thank you.
> 
> Takashi
> --
> To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


Cheers, Andreas





[toc] | [next] | [standalone]


#1310441

FromJosef Bacik <jbacik@fb.com>
Date2016-01-15 21:20 +0100
Message-ID<qRj0J-2C0-7@gated-at.bofh.it>
In reply to#1309614
On 01/15/2016 01:45 AM, Takashi HOSHINO wrote:
> Hi Andreas,
>
> On 2016/01/15 4:44, Andreas Dilger wrote:
>> On Jan 13, 2016, at 6:50 PM, Takashi HOSHINO
>> <hoshino@labs.cybozu.co.jp> wrote:
>>>
>>> Hi all,
>>>
>>> I'm developing 'crashblk'.
>>> It is a memory block device driver to emulate crash, IO error,
>>> and various response time.
>>
>> Why not use/improve dm-flakey for this, rather than making yet another
>> device that does something similar?
>
> I did not know dm-flakey until your reply. Thank you.
>
> I read its documents and code a bit.
> The big purpose of two projects are the same, which is to test software
> on block devices with errors, but their functions are almost different.
>
> It may be nice idea to implement alternative implementation of crashblk
> on device-mapper version by someone.
> Currently I'm not familiar with device-mapper development, and I do not
> have any motivation with it.
>

There's also dm-log-writes which will log writes to an external journal 
to allow you to replay writes and verify the fs is consistent at all 
steps of operation.  Thanks,

Josef

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web