mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40: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:
@@ -173,7 +173,7 @@ vdev_disk_error(zio_t *zio)
|
||||
* which is safe from any context.
|
||||
*/
|
||||
printk(KERN_WARNING "zio pool=%s vdev=%s error=%d type=%d "
|
||||
"offset=%llu size=%llu flags=%x\n", spa_name(zio->io_spa),
|
||||
"offset=%llu size=%llu flags=%llu\n", spa_name(zio->io_spa),
|
||||
zio->io_vd->vdev_path, zio->io_error, zio->io_type,
|
||||
(u_longlong_t)zio->io_offset, (u_longlong_t)zio->io_size,
|
||||
zio->io_flags);
|
||||
|
||||
Reference in New Issue
Block a user