1 ext4: pack ioend structure better
3 From: Jan Kara <jack@suse.cz>
5 On 64-bit architectures we have two 4-byte holes in struct ext4_io_end.
6 Order entries better to avoid this and thus make the structure occupy
7 64 instead of 72 bytes for 64-bit architectures.
9 Signed-off-by: Jan Kara <jack@suse.cz>
10 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
13 1 file changed, 1 insertion(+), 1 deletion(-)
15 diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
16 index 157b458a..5035dfe 100644
19 @@ -182,9 +182,9 @@ typedef struct ext4_io_end {
20 struct bio *bio; /* Linked list of completed
21 * bios covering the extent */
22 unsigned int flag; /* unwritten or not */
23 + atomic_t count; /* reference counter */
24 loff_t offset; /* offset in the file */
25 ssize_t size; /* size of the extent */
26 - atomic_t count; /* reference counter */
29 struct ext4_io_submit {