From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f68.google.com ([74.125.83.68]:34738 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752966AbcLTBap (ORCPT ); Mon, 19 Dec 2016 20:30:45 -0500 Received: by mail-pg0-f68.google.com with SMTP id b1so9940981pgc.1 for ; Mon, 19 Dec 2016 17:30:45 -0800 (PST) Date: Mon, 19 Dec 2016 16:30:41 -0900 From: Kent Overstreet To: Josef Bacik Cc: "linux-fsdevel@vger.kernel.org" , "david@fromorbit.com" , "hch@lst.de" Subject: Re: Simulating disk failure with a writeback cache Message-ID: <20161220013041.rv3ijgyp46w3scba@moria.home.lan> References: <1482093534.17731.1@smtp.office365.com> <20161218204623.gea7u4d3pb7k3zhw@kmo-pixel> <05A4E7E7-E733-4AE9-BDC7-FEE9F66E387D@fb.com> <20161219025111.g2nayb3xtxvfbasu@kmo-pixel> <20161219030725.3kmsfu23sjypcnek@kmo-pixel> <1482161254.17731.2@smtp.office365.com> <20161219205514.dntaogt3vjos37w2@kmo-pixel> <1482181240.24490.9@smtp.office365.com> <20161219215306.vmkhgwifrj5ph2qr@moria.home.lan> <3A97B8BF-B65F-4A7D-878F-82D73327B3A9@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3A97B8BF-B65F-4A7D-878F-82D73327B3A9@fb.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, Dec 20, 2016 at 01:01:29AM +0000, Josef Bacik wrote: > One thing I was definitely going to do is use the dm thin provisioning so I > could snapshot between each check so we don't have to replay from the > beginning every time we want to check a different mark. Replaying the whole > thing is fine for small runs like the fsx thing, but when you want to say run > fsstress for a minute and replay to every fua and fsck and mount it gets > tedious fast. Thanks, I actually just converted my new test to do that: https://evilpiepirate.org/git/ktest.git/commit/ now, most of the time in the test is spent in mount/unmount (bcachefs doesn't have a standalone fsck yet, we check everything fsck should but it's done at mount time).