[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 10:46:52 CET 2014


On Wed, Feb 19, 2014 at 04:41:56PM +0800, Liu Yuan wrote:
> 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

I got a hang for 081 with this patch, so I reverted the commit from the master
and wait for your update of this patch.

Thanks
Yuan



More information about the sheepdog mailing list