RE: [f2fs-dev] [PATCH v3 06/10] f2fs: add core functions for rb-tree extent cache

From: Chao Yu
Date: Mon Feb 16 2015 - 03:12:04 EST


Any comments on this patch now?

> -----Original Message-----
> From: Chao Yu [mailto:chao2.yu@xxxxxxxxxxx]
> Sent: Thursday, February 05, 2015 5:55 PM
> To: Jaegeuk Kim; Changman Lee
> Cc: linux-kernel@xxxxxxxxxxxxxxx; linux-f2fs-devel@xxxxxxxxxxxxxxxxxxxxx
> Subject: [f2fs-dev] [PATCH v3 06/10] f2fs: add core functions for rb-tree extent cache
> This patch adds core functions including slab cache init function and
> init/lookup/update/shrink/destroy function for rb-tree based extent cache.
> Thank Jaegeuk Kim and Changman Lee as they gave much suggestion about detail
> design and implementation of extent cache.
> Todo:
> * register rb-based extent cache shrink with mm shrink interface.
> v2:
> o move set_extent_info and __is_{extent,back,front}_mergeable into f2fs.h.
> o introduce __{attach,detach}_extent_node for code readability.
> o add cond_resched() when fail to invoke kmem_cache_alloc/radix_tree_insert.
> o fix some coding style and typo issues.
> v3:
> o fix oops due to using an unassigned pointer.
> o use list_del to remove extent node in shrink list.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at