Whamcloud - gitweb
LU-2886 obdclass: use common way to store lastid
authorMikhail Pershin <mike.pershin@intel.com>
Mon, 29 Apr 2013 16:34:25 +0000 (20:34 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 9 May 2013 16:13:03 +0000 (12:13 -0400)
commitc4677f0d97dff8d1084baa1792c0ad6af1000158
treef81e17e018e2342b087ee5c76b4e2ee37ebad04c
parentab28a55546afdd8871f5cd3dbcef86b97b68fd87
LU-2886 obdclass: use common way to store lastid

Local files last id are stored in root in files named seq-xxx-lastid
while lastid for OST objects is stored in O/seq/LAST_ID special
object with zero OID and handled by OSD.
Patch reworks local files lastid to be stored in O/seq/LAST_ID too
and using the same format.

Signed-off-by: Mikhail Pershin <mike.pershin@intel.com>
Signed-off-by: James Nunez <james.a.nunez@intel.com>
Change-Id: I72710e84cf0f7a0903b0b88ac3f9432eb59ea716
Reviewed-on: http://review.whamcloud.com/6199
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
lustre/include/lustre/lustre_idl.h
lustre/include/lustre_disk.h
lustre/obdclass/local_storage.c
lustre/obdclass/local_storage.h
lustre/osd-ldiskfs/osd_scrub.c