aboutsummaryrefslogtreecommitdiff
path: root/include/sys/dmu.h
diff options
context:
space:
mode:
authorTom Caputi <tcaputi@datto.com>2019-03-13 17:52:01 +0000
committerBrian Behlendorf <behlendorf1@llnl.gov>2019-03-13 17:52:01 +0000
commit369aa501d11f4d21d4732b58d749259ad811a10a (patch)
tree747a00e61b8ae4348cccaa0cd234b39383898f57 /include/sys/dmu.h
parent146bdc414c7ad5b93417569bff6737d57860ff14 (diff)
downloadsrc-369aa501d11f4d21d4732b58d749259ad811a10a.tar.gz
src-369aa501d11f4d21d4732b58d749259ad811a10a.zip
Diffstat (limited to 'include/sys/dmu.h')
-rw-r--r--include/sys/dmu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sys/dmu.h b/include/sys/dmu.h
index e4c2ebc2f2d7..93d05aac42e1 100644
--- a/include/sys/dmu.h
+++ b/include/sys/dmu.h
@@ -477,7 +477,8 @@ int dmu_object_set_blocksize(objset_t *os, uint64_t object, uint64_t size,
/*
* Manually set the maxblkid on a dnode. This will adjust nlevels accordingly
- * to accommodate the change.
+ * to accommodate the change. When calling this function, the caller must
+ * ensure that the object's nlevels can sufficiently support the new maxblkid.
*/
int dmu_object_set_maxblkid(objset_t *os, uint64_t object, uint64_t maxblkid,
dmu_tx_t *tx);