Re: block allocation in ext2fs

From: Benhanokh Gabriel (gabriel@SANgate.com)
Date: Wed May 10 2000 - 14:10:31 EST


> > > have a look at the
> > > end_that_request_last function defined in the ll_rw_blk.c
> > > the wait queue is associated with request issued to the device
> > > it came here in the first place because the block asked for was
> > > not there in the buffer cache (bread returns immediately if the
> > > block is present else issues the request for it)hence its
> > > necessary to wakeup all these process

one more thing, since i'm marking the buffer_clean and no request will
ever be issued,
i think that it is redundent to call the end_that_request_last()
function( i didn't use any req struct so i don't need to clean it + it
will be wrong to wakeup waiting processes since no req was released )

regards
/gaby

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:16 EST