From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:38923 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753043AbcLRVUW (ORCPT ); Sun, 18 Dec 2016 16:20:22 -0500 From: Josef Bacik To: Kent Overstreet CC: "linux-fsdevel@vger.kernel.org" , "david@fromorbit.com" , "hch@lst.de" Subject: Re: Simulating disk failure with a writeback cache Date: Sun, 18 Dec 2016 21:19:57 +0000 Message-ID: <05A4E7E7-E733-4AE9-BDC7-FEE9F66E387D@fb.com> References: <20161215022621.kvzga5my7bavxvli@kmo-pixel> <079409FD-B1CB-460B-AA1E-77EF0107B424@fb.com> <20161218201253.wv4bsheg4ook4bdx@kmo-pixel> <1482093534.17731.1@smtp.office365.com>,<20161218204623.gea7u4d3pb7k3zhw@kmo-pixel> In-Reply-To: <20161218204623.gea7u4d3pb7k3zhw@kmo-pixel> Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Eeesh these are older than I thought, I pushed to https://github.com/josefb= acik/fstests.git. The fsx work is there and is generic, the fsstress one h= as some btrfs specific stuff but you can just pull that crap out and it'll = work on anything. Let me know if you need anything else, thanks, Josef Sent from my iPhone > On Dec 18, 2016, at 3:46 PM, Kent Overstreet = wrote: >=20 >> On Sun, Dec 18, 2016 at 03:38:54PM -0500, Josef Bacik wrote: >> On Sun, Dec 18, 2016 at 3:12 PM, Kent Overstreet >> wrote: >>> On Thu, Dec 15, 2016 at 04:15:27AM +0000, Josef Bacik wrote: >>>> dm-log-writes is probably what you want. Thanks, >>>=20 >>> Oh, that actually looks pretty cool. >>>=20 >>> Don't suppose anyone is working on making use of it in xfstests? >>=20 >> Actually I had two xfstests, one that used fsstress and just made sure e= very >> commit point was valid (every FUA/FLUSH it found in the log) and then on= e >> that modified fsx to output a known good image every time it ran fsync a= nd >> mark the log to make sure fsync did the correct thing. I need to go bac= k >> and clean them up and get the upstream, but I've been pretty heavily >> distracted with other things for the last year or two. I'll make gettin= g >> those upstream a priority after Christmas. Thanks, >=20 > Don't suppose you could throw up just what you've currently got somewhere= ? It'd > save me some work.