blkdev: add blkdev_issue_zeroout helper function
authorDmitry Monakhov <dmonakhov@openvz.org>
Wed, 28 Apr 2010 13:55:09 +0000 (17:55 +0400)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 28 Apr 2010 17:47:36 +0000 (19:47 +0200)
commit3f14d792f9a8fede64ce918dbb517f934497a4f8
tree1eb1d1803ebe21c05f38bc75c70ee966701a1fe8
parentf31e7e4022841c43c53b847b86b1bf97a08b2c94
blkdev: add blkdev_issue_zeroout helper function

- Add bio_batch helper primitive. This is rather generic primitive
  for submitting/waiting a complex request which consists of several
  bios.
- blkdev_issue_zeroout() generate number of zero filed write bios.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-lib.c
include/linux/blkdev.h