[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171116213147.GB27448@linux.intel.com>
Date: Thu, 16 Nov 2017 14:31:47 -0700
From: Ross Zwisler <ross.zwisler@...ux.intel.com>
To: Ross Zwisler <ross.zwisler@...ux.intel.com>,
Dave Chinner <david@...morbit.com>,
Amir Goldstein <amir73il@...il.com>,
Josef Bacik <jbacik@...com>, Eryu Guan <eguan@...hat.com>,
fstests <fstests@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
Alasdair Kergon <agk@...hat.com>,
Dan Williams <dan.j.williams@...el.com>,
Jan Kara <jack@...e.cz>, Mike Snitzer <snitzer@...hat.com>,
Shaohua Li <shli@...nel.org>, dm-devel@...hat.com,
linux-nvdimm@...ts.01.org, linux-raid@...r.kernel.org,
linux-fsdevel <linux-fsdevel@...r.kernel.org>,
Ext4 <linux-ext4@...r.kernel.org>,
linux-xfs <linux-xfs@...r.kernel.org>,
Christoph Hellwig <hch@...radead.org>
Subject: Re: [fstests PATCH v3] generic: add test for DAX MAP_SYNC support
On Thu, Nov 16, 2017 at 02:28:15PM -0700, Ross Zwisler wrote:
> On Thu, Oct 26, 2017 at 08:56:38AM +1100, Dave Chinner wrote:
> > Perhaps stat -c %b $SCRATCH_MNT/test ?
>
> Maybe, but doesn't the output of 'stat -c %b' depend on the block size the
> filesystem is using? I think to use stat I'd have to check both %b and %B,
> and account for different block sizes, or do some shell math. I think it may
> be easier to just use du.
Ah, never mind, I think you meant 'stat -c %s' - that's cleaner, will switch.
Powered by blists - more mailing lists