[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151107101932.GC12117@infradead.org>
Date: Sat, 7 Nov 2015 02:19:32 -0800
From: Christoph Hellwig <hch@...radead.org>
To: Mike Christie <mchristi@...hat.com>
Cc: Bart Van Assche <bart.vanassche@...disk.com>,
device-mapper development <dm-devel@...hat.com>,
linux-fsdevel@...r.kernel.org, linux-raid@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org,
drbd-dev@...ts.linbit.com
Subject: Re: [dm-devel] [PATCH 19/32] block: add helper to get data dir from
op
On Thu, Nov 05, 2015 at 11:34:07AM -0600, Mike Christie wrote:
> I can do that. You are right in how they are used. I just did the above,
> to follow the other *_data_dir calls.
I think the *_data_dir calls are horrible interfaces. But your series
already is huge, so if it makes your life easier I'd say keep it as-is
for now. But in the long run we should have the interfaces that Bart
suggested, and one that gives you a dma_data_direction from a request,
as that's what a lot of the driver ultimatively want.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists