[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160805075756.GA28577@infradead.org>
Date: Fri, 5 Aug 2016 00:57:56 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Mike Christie <mchristi@...hat.com>
Cc: ross.zwisler@...ux.intel.com, linux-ext4@...r.kernel.org,
linux-block@...r.kernel.org, linux-fsdevel@...r.kernel.org,
david@...morbit.com, minchan@...nel.org, ngupta@...are.org,
vishal.l.verma@...el.com, axboe@...nel.dk
Subject: Re: [PATCH 1/1] mm/block: convert rw_page users to bio op use
>
> The rw_page users were not converted to use bio/req ops. As a result
> bdev_write_page is not passing down REQ_OP_WRITE and the IOs will
> be sent down as reads.
Can we just get rid of REQ_OP_WRITE enum for the ->rw_page interface
and pass a 'bool write'? If not I'd prefer to avoid using op_is_write
as much as possible - it's a confusing interface if we really want
to do a switch on read vs write vs invalid.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists