Re: [RFC/PATCH] block: undeprecate ll_rw_block()

From: Pekka J Enberg
Date: Tue Feb 07 2006 - 02:19:13 EST


On Mon, Feb 06 2006, Pekka Enberg wrote:
> > This patch removes the DEPRECATED comment from ll_rw_block(). The function
> > is still in active use and there isn't any real replacement for it.

On Mon, 6 Feb 2006, Jens Axboe wrote:
> It is still deprecated, so I think the comment should stay. There are
> plenty ways to accomplish what ll_rw_block does (and more efficiently,
> array of bh's is not very nice to say the least) and the buffer_head
> isn't even an io unit anymore.

To clarify, what ways are there? When we need to access the data, use
submit_bh() and when we just want the I/O to be done, generic_make_request()?

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