[sheepdog] [PATCH 04/10] sheep: introduce ledger objects

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Tue May 21 06:00:40 CEST 2013


At Tue, 21 May 2013 11:23:37 +0800,
Liu Yuan wrote:
> 
> On 05/21/2013 08:11 AM, MORITA Kazutaka wrote:
> > +static inline bool is_ledger_obj(uint64_t oid)
> > +{
> > +	return !!(oid & LEDGER_BIT);
> > +}
> 
> Currently we are mixing 'obj' and 'object' name component in function
> name. We are not in the old days that these several bytes saving will
> make difference to memory or disk consumption. So I'd like to suggest
> use of more complete name if possible. But for generally well received
> name such as 'refcnt' should be retained as is though.

I think 'obj' is a commonly used abbreviation for 'object', but either
is fine to me.

Thanks,

Kazutaka



More information about the sheepdog mailing list