Whamcloud - gitweb
b=19427 Correct lmm_object_id
authorRahul Deshmukh <Rahul.Deshmukh@sun.com>
Thu, 7 Oct 2010 12:06:46 +0000 (17:36 +0530)
committerVitaly Fertman <vitaly.fertman@sun.com>
Thu, 7 Oct 2010 22:12:22 +0000 (02:12 +0400)
commit0b54f38a7eb79ece762f12e121bfe26814a2e655
treef5811b83fbd7b2873ab98cb379126eeae059b5e2
parent34aa03da8a3e8785abc2fd607b8c41afd7bed3d0
b=19427 Correct lmm_object_id

o=adilger
i=wangdi
i=tapro
i=pravin
i=rahul

Fix boolean logic for limiting the maximum object ID created within a
single group (sequence).  For legacy IDIF objects this is 2^48 objects,
since we consume 2^16 SEQ numbers for the high bits of the object ID),
but for all other groups it is only 2^32 objects that can fit into f_oid.

Clean up some duplicate #defines that are no longer needed now that
we declare all of the FID_SEQ values in enum fid_seq in lustre_idl.h.
lustre/fid/fid_lib.c
lustre/fld/fld_handler.c
lustre/include/lustre/lustre_idl.h
lustre/include/lustre_fid.h
lustre/obdfilter/filter.c
lustre/osd-ldiskfs/osd_handler.c