[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <84144f020704100428r6e35e34cued8758c94728a6a0@mail.gmail.com>
Date: Tue, 10 Apr 2007 14:28:05 +0300
From: "Pekka Enberg" <penberg@...helsinki.fi>
To: "Rusty Russell" <rusty@...tcorp.com.au>
Cc: "Andrew Morton" <akpm@...ux-foundation.org>,
"lkml - Kernel Mailing List" <linux-kernel@...r.kernel.org>,
virtualization <virtualization@...ts.linux-foundation.org>,
"Andi Kleen" <ak@....de>
Subject: Re: PATCH 7/8] lguest: the block driver
Hi Rusty,
On 4/10/07, Rusty Russell <rusty@...tcorp.com.au> wrote:
> +/* Jens gave me this nice helper to end all chunks of a request. */
> +static void end_entire_request(struct request *req, int uptodate)
> +{
> + if (end_that_request_first(req, uptodate, req->hard_nr_sectors))
> + BUG();
> + add_disk_randomness(req->rq_disk);
> + blkdev_dequeue_request(req);
> + end_that_request_last(req, uptodate);
> +}
Perhaps we should move this to generic code (i.e. block/ll_rw_blk.c)?
-
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