[sheepdog] [PATCH v2] sheep/http: use INODE_SET_VID_RANGE to accelerate speed of oalloc_free()

Liu Yuan namei.unix at gmail.com
Wed Feb 19 09:41:56 CET 2014


On Wed, Feb 19, 2014 at 02:38:35PM +0800, Robin Dong wrote:
> From: Robin Dong <sanbai at taobao.com>
> 
> Use INODE_SET_VID_RANGE to set vid is more effecient for IO operaion, and,
> after set vid to zero, we only need to REMOVE_OBJ (not DISCARD_OBJ).
> 
> Signed-off-by: Robin Dong <sanbai at taobao.com>
> ---
> v1-->v2:
>   1. return the error code if success or can't find obj.
> 

Applied thanks

Yuan



More information about the sheepdog mailing list