Kaperstone / mogilefs

Automatically exported from code.google.com/p/mogilefs
0 stars 0 forks source link

FSCK should dequeue (or not enqueue?) fids on down devices #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Reported on the list by Jon Skarpeteig.

FSCK doesn't do any poking at device state before trying to fetch the filesize 
on a fiddev.

It's somewhat of a tough decision; if we want fsck to move on with its check, 
it has to assume that the 'down' device will eventually come back and is in a 
good state.

Is that okay? need to think it through and test it.

Original issue reported on code.google.com by dorma...@rydia.net on 1 Oct 2010 at 1:07

GoogleCodeExporter commented 8 years ago
https://github.com/dormando/MogileFS-Server/tree/fsckstall
^ Dequeue/move on if device was dead.

Waiting to hear back on if this fixes the issue enough before merging down.

Original comment by dorma...@rydia.net on 24 Dec 2010 at 10:25

GoogleCodeExporter commented 8 years ago
never heard back. code seems sane, so I merged it?

Original comment by dorma...@rydia.net on 28 Jul 2011 at 7:02