From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f171.google.com ([209.85.192.171]:34847 "EHLO mail-pf0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753362AbcLRUq1 (ORCPT ); Sun, 18 Dec 2016 15:46:27 -0500 Received: by mail-pf0-f171.google.com with SMTP id i88so20243718pfk.2 for ; Sun, 18 Dec 2016 12:46:27 -0800 (PST) Date: Sun, 18 Dec 2016 11:46:23 -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: <20161218204623.gea7u4d3pb7k3zhw@kmo-pixel> References: <20161215022621.kvzga5my7bavxvli@kmo-pixel> <079409FD-B1CB-460B-AA1E-77EF0107B424@fb.com> <20161218201253.wv4bsheg4ook4bdx@kmo-pixel> <1482093534.17731.1@smtp.office365.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1482093534.17731.1@smtp.office365.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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, > > > > 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, Don't suppose you could throw up just what you've currently got somewhere? It'd save me some work.