diff options
author | 2023-03-10 11:12:35 -0800 | |
---|---|---|
committer | 2023-03-29 15:17:38 -0700 | |
commit | f69475dd4878e5f2e316a6573044d55f294baa51 (patch) | |
tree | d1765fb7c29c8a6fe8aaabce1135f7c9b52e5125 /tools | |
parent | f2fs: factor out victim_entry usage from general rb_tree use (diff) | |
download | linux-f69475dd4878e5f2e316a6573044d55f294baa51.tar.gz linux-f69475dd4878e5f2e316a6573044d55f294baa51.tar.bz2 linux-f69475dd4878e5f2e316a6573044d55f294baa51.zip |
f2fs: factor out discard_cmd usage from general rb_tree use
This is a second part to remove the mixed use of rb_tree in discard_cmd from
extent_cache.
This should also fix arm32 memory alignment issue caused by shared rb_entry.
[struct discard_cmd] [struct rb_entry]
[0] struct rb_node rb_node; [0] struct rb_node rb_node;
union { union {
struct { struct {
[16] block_t lstart; [12] unsigned int ofs;
block_t len; unsigned int len;
};
unsigned long long key;
} __packed;
Cc: <stable@vger.kernel.org>
Fixes: 004b68621897 ("f2fs: use rb-tree to track pending discard commands")
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions