Whamcloud - gitweb
b=17025
authorjxiong <jxiong>
Tue, 10 Feb 2009 02:05:08 +0000 (02:05 +0000)
committerjxiong <jxiong>
Tue, 10 Feb 2009 02:05:08 +0000 (02:05 +0000)
commitb525fe28b234ead0eddd2b8e68060e6528e3fba5
tree5511b0ada8442fe9c0f927ca0e6d2fc14bd13a7f
parent7910680b5f11ffaafc1783e420e10aeb116cf547
b=17025
r=adilger,nikita

If a client creates and opens some files, and then mds gets crashed, there exists a chance that the objids in OSTs will be used for multiple files.

The root cause of this issue is that we don't have the appropriate mechanism to handle the case if the replaying of open request fails.

This is a hot fix for this problem. By skipping the orphan objects, the client won't see that multiple files using the same objid any more.
lustre/include/lustre/lustre_idl.h
lustre/mds/mds_lov.c
lustre/obdclass/lprocfs_status.c
lustre/obdfilter/filter.c
lustre/osc/osc_create.c
lustre/tests/recovery-small.sh
lustre/utils/wirecheck.c