[sheepdog] [PATCH v2 4/4] object cache: optimize push phase of dirty objects

MORITA Kazutaka morita.kazutaka at gmail.com
Sun Jan 27 15:10:32 CET 2013


At Sun, 27 Jan 2013 18:33:20 +0800,
Liu Yuan wrote:
> 
> From: Liu Yuan <tailai.ly at taobao.com>
> 
> - Don't grab cache lock tight so we can serve RW requests while pushing.
>   It is okay for allow subsequent RW after FLUSH because we only need to
>   garantee the dirty objects before FLUSH to be pushed.
> - Use threaded AIO to hugely boost push performance, such as fsync(2) from VM.
> - Fix a nasty long bug that didn't destory pthread rwlock after VDI deletion.
> - Clean up {get,put}_cache_entry helpers and introduce lock helpers.
> - Prefix work queues of object cache as 'oc_'

The last three items are no longer included in this patch.  I've
applied this series after removing them, thanks!

Kazutaka



More information about the sheepdog mailing list