[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160405125630.GE11986@infradead.org>
Date: Tue, 5 Apr 2016 05:56:30 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Ming Lei <tom.leiming@...il.com>
Cc: Jens Axboe <axboe@...com>, linux-kernel@...r.kernel.org,
linux-block@...r.kernel.org, Christoph Hellwig <hch@...radead.org>,
Boaz Harrosh <boaz@...xistor.com>,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
Len Brown <len.brown@...el.com>, Pavel Machek <pavel@....cz>,
"open list:SUSPEND TO RAM" <linux-pm@...r.kernel.org>
Subject: Re: [PATCH 26/27] kernel/power/swap.c: use bio_get_base_vec()
I really don't like all these bio_get_base_vec uses. The end_io
handlers generall want to iterate over all pages in the bio, with
a special case where all of them is the fixed number one.
So What I think we'll need is a bio_for_each_page, and if there is
any good justification for it as special version of the single
page case.
Powered by blists - more mailing lists