diff options
author | Xin LI <delphij@FreeBSD.org> | 2013-09-05 17:52:54 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2013-09-05 17:52:54 +0000 |
commit | 119a3b6b540c63dc33ae92b67a4017df355d6a57 (patch) | |
tree | d081e08021477444f4cd4cfb79f887d93f82e9a4 /uts/common/fs/zfs/sys/dbuf.h | |
parent | d264a033cd4e5bad83aee212b543a1a83efd4795 (diff) | |
download | src-119a3b6b540c63dc33ae92b67a4017df355d6a57.tar.gz src-119a3b6b540c63dc33ae92b67a4017df355d6a57.zip |
Update vendor/illumos/dist and vendor-sys/illumos/dist
to 14164:dceb17481b99:
Illumos ZFS issues:
4045 zfs write throttle & i/o scheduler performance work
Notes
Notes:
svn path=/vendor-sys/illumos/dist/; revision=255255
Diffstat (limited to 'uts/common/fs/zfs/sys/dbuf.h')
-rw-r--r-- | uts/common/fs/zfs/sys/dbuf.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/uts/common/fs/zfs/sys/dbuf.h b/uts/common/fs/zfs/sys/dbuf.h index 3306118d203f..118310bf0081 100644 --- a/uts/common/fs/zfs/sys/dbuf.h +++ b/uts/common/fs/zfs/sys/dbuf.h @@ -20,7 +20,7 @@ */ /* * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. - * Copyright (c) 2012 by Delphix. All rights reserved. + * Copyright (c) 2013 by Delphix. All rights reserved. * Copyright (c) 2013 by Saso Kiselkov. All rights reserved. */ @@ -112,6 +112,9 @@ typedef struct dbuf_dirty_record { /* pointer to parent dirty record */ struct dbuf_dirty_record *dr_parent; + /* How much space was changed to dsl_pool_dirty_space() for this? */ + unsigned int dr_accounted; + union dirty_types { struct dirty_indirect { @@ -254,7 +257,7 @@ dmu_buf_impl_t *dbuf_hold_level(struct dnode *dn, int level, uint64_t blkid, int dbuf_hold_impl(struct dnode *dn, uint8_t level, uint64_t blkid, int create, void *tag, dmu_buf_impl_t **dbp); -void dbuf_prefetch(struct dnode *dn, uint64_t blkid); +void dbuf_prefetch(struct dnode *dn, uint64_t blkid, zio_priority_t prio); void dbuf_add_ref(dmu_buf_impl_t *db, void *tag); uint64_t dbuf_refcount(dmu_buf_impl_t *db); |