diff options
author | Brian Behlendorf <[email protected]> | 2015-09-04 13:02:48 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-09-04 13:14:21 -0700 |
commit | e20cd6f7a8922709b1aa2ecefd783390102d79e0 (patch) | |
tree | af96686cc8418ec8acc8da2171be5f48fbfa4790 /include/sys | |
parent | dca8c34da4212ed85a92111f26bd3a3cd782f270 (diff) | |
parent | d60328645d34be592e41e8319138e5d14cc258f7 (diff) |
Merge branch 'zvol'
Performance improvements for zvols.
Signed-off-by: Richard Yao <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #3720
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/dmu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/dmu.h b/include/sys/dmu.h index 4ad496ae0..d9434db46 100644 --- a/include/sys/dmu.h +++ b/include/sys/dmu.h @@ -710,8 +710,8 @@ void dmu_prealloc(objset_t *os, uint64_t object, uint64_t offset, uint64_t size, dmu_tx_t *tx); #ifdef _KERNEL #include <linux/blkdev_compat.h> -int dmu_read_req(objset_t *os, uint64_t object, struct request *req); -int dmu_write_req(objset_t *os, uint64_t object, struct request *req, +int dmu_read_bio(objset_t *os, uint64_t object, struct bio *bio); +int dmu_write_bio(objset_t *os, uint64_t object, struct bio *bio, dmu_tx_t *tx); int dmu_read_uio(objset_t *os, uint64_t object, struct uio *uio, uint64_t size); int dmu_read_uio_dbuf(dmu_buf_t *zdb, struct uio *uio, uint64_t size); |