Whamcloud - gitweb
fix many bugs that prevented previously-mounted filesystems from
authorphil <phil>
Sun, 24 Aug 2003 21:05:02 +0000 (21:05 +0000)
committerphil <phil>
Sun, 24 Aug 2003 21:05:02 +0000 (21:05 +0000)
commit1843c9c5806665fb5728d37c13958d1efc6d362d
tree2fad41862ab3c74db10f200bc08c104d0895dde6
parentb22a7d7bce4f8d5e2c620a1bfcc1006fb73234f6
fix many bugs that prevented previously-mounted filesystems from
mounting a second time:
 - set the oscc_next_id (via obd_setattr) before we use that value to
   recover orphans
 - when recovering orphans, send the actual last-used ID (oscc_next_id - 1),
   instead of oscc_next_id
 - in filter_destroy_precreated, call filter_destroy with a NULL oti
   to avoid saving locks for the reply-ack
 - remove the boot count component of the filter objid; it is no
   longer required and makes orphan recovery harder
 - start the filter objid count at 1
 - orphan recovery is a dangerous process which if done incorrectly
   will delete the wrong objects; with that in mind, we now call a
   dramatically simpler lov_create_orphans() instead of the normal
   out-of-control lov_create
lustre/osc/osc_create.c