From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:47959 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751014AbcLRUjY (ORCPT ); Sun, 18 Dec 2016 15:39:24 -0500 Date: Sun, 18 Dec 2016 15:38:54 -0500 From: Josef Bacik Subject: Re: Simulating disk failure with a writeback cache To: Kent Overstreet CC: "linux-fsdevel@vger.kernel.org" , "david@fromorbit.com" , "hch@lst.de" Message-ID: <1482093534.17731.1@smtp.office365.com> In-Reply-To: <20161218201253.wv4bsheg4ook4bdx@kmo-pixel> References: <20161215022621.kvzga5my7bavxvli@kmo-pixel> <079409FD-B1CB-460B-AA1E-77EF0107B424@fb.com> <20161218201253.wv4bsheg4ook4bdx@kmo-pixel> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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, > > Oh, that actually looks pretty cool. > > Don't suppose anyone is working on making use of it in xfstests? Actually I had two xfstests, one that used fsstress and just made sure every commit point was valid (every FUA/FLUSH it found in the log) and then one that modified fsx to output a known good image every time it ran fsync and mark the log to make sure fsync did the correct thing. I need to go back 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 getting those upstream a priority after Christmas. Thanks, Josef