mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 11:47:43 +03:00
Convert enum zio_flag to uint64_t
We ran out of space in enum zio_flag for additional flags. Rather than introduce enum zio_flag2 and then modify a bunch of functions to take a second flags variable, we expand the type to 64 bits via `typedef uint64_t zio_flag_t`. Reviewed-by: Allan Jude <allan@klarasystems.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Richard Yao <richard.yao@klarasystems.com> Signed-off-by: Allan Jude <allan@klarasystems.com> Co-authored-by: Richard Yao <richard.yao@klarasystems.com> Closes #14086
This commit is contained in:
+1
-1
@@ -1436,7 +1436,7 @@ dmu_return_arcbuf(arc_buf_t *buf)
|
||||
*/
|
||||
int
|
||||
dmu_lightweight_write_by_dnode(dnode_t *dn, uint64_t offset, abd_t *abd,
|
||||
const zio_prop_t *zp, enum zio_flag flags, dmu_tx_t *tx)
|
||||
const zio_prop_t *zp, zio_flag_t flags, dmu_tx_t *tx)
|
||||
{
|
||||
dbuf_dirty_record_t *dr =
|
||||
dbuf_dirty_lightweight(dn, dbuf_whichblock(dn, 0, offset), tx);
|
||||
|
||||
Reference in New Issue
Block a user