diff options
author | Kevin Wolf <kwolf@redhat.com> | 2018-10-25 16:21:14 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-12-14 11:52:41 +0100 |
commit | d57c44d00f0daddd6d31b326ef844bf2facf6d8a (patch) | |
tree | 8e83c24d0d5a42b43057649d5aecdd5aede0bb62 /block/write-threshold.c | |
parent | e23c9d7a1c827ac41cc4719d4c4800139b232857 (diff) |
file-posix: Reorganise RawPosixAIOData
RawPosixAIOData contains a lot of fields for several separate operations
that are to be processed in a worker thread and that need different
parameters. The struct is currently rather unorganised, with unions that
cover some, but not all operations, and even one #define for field names
instead of a union.
Clean this up to have some common fields and a single union. As a side
effect, on x86_64 the struct shrinks from 72 to 48 bytes.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/write-threshold.c')
0 files changed, 0 insertions, 0 deletions