From: Jens Axboe Date: Thu, 15 Feb 2024 15:39:49 +0000 (-0700) Subject: io_u: move number_trim to reclaim 8 bytes in struct io_u X-Git-Tag: fio-3.37~32 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=1a41b353a54a7ec2ebab5f66bbf25747f963f79f;p=fio.git 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 --- diff --git a/io_u.h b/io_u.h index cfacf310..ab93d50f 100644 --- a/io_u.h +++ b/io_u.h @@ -52,6 +52,11 @@ struct io_u { unsigned short ioprio; unsigned short clat_prio_index; + /* + * number of trim ranges for this IO. + */ + unsigned int number_trim; + /* * Allocated/set buffer and length */ @@ -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;