[sheepdog] [PATCH v2 0/2] add fls operation

Liu Yuan namei.unix at gmail.com
Wed May 16 11:01:20 CEST 2012


From: Liu Yuan <tailai.ly at taobao.com>

So object cache make use of it to simplify the code.

v2:
  - make the fls code generic

Liu Yuan (2):
  add fls, fls64 operation for bit manipulation
  object cache: use bitops for bits manipulation.

 include/bitops.h     |  113 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sheep/object_cache.c |   50 +++++++---------------
 2 files changed, 128 insertions(+), 35 deletions(-)

-- 
1.7.8.2




More information about the sheepdog mailing list