diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-02-15 08:39:49 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-02-15 08:39:49 -0700 |
commit | 1a41b353a54a7ec2ebab5f66bbf25747f963f79f (patch) | |
tree | 6dfdfac8fdd35cdef033f0cfb46abfd6cd87e228 | |
parent | 5d4ee0de9d6afaa74c7c15c3d4f210a06d4e2139 (diff) | |
download | fio-1a41b353a54a7ec2ebab5f66bbf25747f963f79f.tar.gz |
io_u: move number_trim to reclaim 8 bytes in struct io_u
Move it under clat_prio_index, which already has a 6 byte gap. This
saves 8 bytes total in struct io_u, which is always nice.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | io_u.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -53,6 +53,11 @@ struct io_u { unsigned short clat_prio_index; /* + * number of trim ranges for this IO. + */ + unsigned int number_trim; + + /* * Allocated/set buffer and length */ unsigned long long buflen; @@ -80,10 +85,6 @@ struct io_u { struct io_piece *ipo; - /* - * number of trim ranges for this IO. - */ - unsigned int number_trim; unsigned long long resid; unsigned int error; |