diff options
author | ednadolski-ix <137826107+ednadolski-ix@users.noreply.github.com> | 2023-11-06 18:38:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-06 18:38:42 +0000 |
commit | 3bd4df3841529316e5145590cc67076467b6abb7 (patch) | |
tree | 816fe92ee22d00a2e82e9b931b3a524c9740a707 /include/sys/zio.h | |
parent | 052777406601a4049c28e25fe0b4df57160b5a58 (diff) | |
download | src-3bd4df3841529316e5145590cc67076467b6abb7.tar.gz src-3bd4df3841529316e5145590cc67076467b6abb7.zip |
Diffstat (limited to 'include/sys/zio.h')
-rw-r--r-- | include/sys/zio.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sys/zio.h b/include/sys/zio.h index e1f4d5c04499..25a4b221f05e 100644 --- a/include/sys/zio.h +++ b/include/sys/zio.h @@ -223,6 +223,9 @@ typedef uint64_t zio_flag_t; #define ZIO_FLAG_REEXECUTED (1ULL << 29) #define ZIO_FLAG_DELEGATED (1ULL << 30) +#define ZIO_ALLOCATOR_NONE (-1) +#define ZIO_HAS_ALLOCATOR(zio) ((zio)->io_allocator != ZIO_ALLOCATOR_NONE) + #define ZIO_FLAG_MUSTSUCCEED 0 #define ZIO_FLAG_RAW (ZIO_FLAG_RAW_COMPRESS | ZIO_FLAG_RAW_ENCRYPT) @@ -526,6 +529,9 @@ struct zio { /* Taskq dispatching state */ taskq_ent_t io_tqent; + + /* write issue taskq selection, based upon sync thread */ + taskq_t *io_wr_iss_tq; }; enum blk_verify_flag { |