[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPcyv4jcPDDcru1ySJLY7SzDQQWFXbfHm493N0twa1vHBEc6aQ@mail.gmail.com>
Date: Fri, 15 Apr 2016 11:56:20 -0700
From: Dan Williams <dan.j.williams@...el.com>
To: Jeff Moyer <jmoyer@...hat.com>
Cc: "Verma, Vishal L" <vishal.l.verma@...el.com>,
"hch@...radead.org" <hch@...radead.org>,
"jack@...e.cz" <jack@...e.cz>, "axboe@...com" <axboe@...com>,
"linux-nvdimm@...1.01.org" <linux-nvdimm@...1.01.org>,
"david@...morbit.com" <david@...morbit.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"xfs@....sgi.com" <xfs@....sgi.com>,
"linux-block@...r.kernel.org" <linux-block@...r.kernel.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
"viro@...iv.linux.org.uk" <viro@...iv.linux.org.uk>,
"linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>,
"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
"linux-ext4@...r.kernel.org" <linux-ext4@...r.kernel.org>,
"Wilcox, Matthew R" <matthew.r.wilcox@...el.com>
Subject: Re: [PATCH v2 5/5] dax: handle media errors in dax_do_io
On Fri, Apr 15, 2016 at 11:24 AM, Jeff Moyer <jmoyer@...hat.com> wrote:
>> Moreover, we're going to do the full badblocks lookup anyway when we
>> call ->direct_access(). If we had that information earlier we can
>> avoid this fallback dance.
>
> None of the proposed approaches looks clean to me. I'll go along with
> whatever you guys think is best. I am in favor of wrapping up all that
> duplicated code, though.
Christoph originally pushed for open coding this fallback decision
per-filesystem. I agree with you on the "none the above" options are
clean.
Powered by blists - more mailing lists