]> err.no Git - linux-2.6/commit
dm io: new interface
authorHeinz Mauelshagen <hjm@redhat.com>
Wed, 9 May 2007 09:33:01 +0000 (02:33 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:47 +0000 (12:30 -0700)
commitc8b03afe3d38a635861e4bfa5c563d844e754a91
treed23d2aa8d6cec93bab6e23ffd2199509e7d85113
parent891ce207011d3d9219f79fd5114c8594bbacc653
dm io: new interface

Add a new API to dm-io.c that uses a private mempool and bio_set for each
client.

The new functions to use are dm_io_client_create(), dm_io_client_destroy(),
dm_io_client_resize() and dm_io().

Signed-off-by: Heinz Mauelshagen <hjm@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Cc: Milan Broz <mbroz@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/dm-io.c
drivers/md/dm-io.h