Re: [f2fs-dev] [PATCH 3/3] f2fs: remove entire rb_entry sharing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2023/3/14 4:12, Jaegeuk Kim wrote:
This is a last part to remove the memory sharing for rb_tree in extent_cache.

This should also fix arm32 memory alignment issue.

[struct extent_node]               [struct rb_entry]
[0] struct rb_node rb_node;        [0] struct rb_node rb_node;
   union {                              union {
     struct {                             struct {
[16]  unsigned int fofs;           [12]    unsigned int ofs;
       unsigned int len;                    unsigned int len;
                                          };
                                          unsigned long long key;
                                        } __packed;

Cc: <stable@xxxxxxxxxxxxxxx>
Fixes: 13054c548a1c ("f2fs: introduce infra macro and data structure of rb-tree extent cache")
Signed-off-by: Jaegeuk Kim <jaegeuk@xxxxxxxxxx>

Reviewed-by: Chao Yu <chao@xxxxxxxxxx>

Thanks,



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux