Messages in this thread | | | Date | Fri, 21 Dec 2007 20:35:06 +0100 | From | Jens Axboe <> | Subject | Re: [PATCH - SH/Dreamcast] Add support for GD-Rom device |
| |
On Fri, Dec 21 2007, Adrian McMenamin wrote: > > On Fri, 2007-12-21 at 13:14 +0100, Jens Axboe wrote: > > > > > What is pages doing in gdrom_request()? > > > > As the device doesn't do scatter-gather I've set > blk_queue_max_segment_size to 1 and am not bothering with pages - is > that wrong?
I mean this:
unsigned long pages; pages = rq->backing_dev_info.ra_pages;
and you never use 'pages'.
-- Jens Axboe
| |