| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | When XFS saves secondary Super block |
| From: | Ajeet Yadav <ajeet.yadav.77@xxxxxxxxx> |
| Date: | Fri, 4 Mar 2011 11:42:05 +0900 |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=7UgpKY9aJwxJfjfQvnc3he6xY+MzIr104ekNMlMZgmo=; b=NtqAkI79bHrYrib9BzBQLP7PzF/FRldSmurPE4BHL38q0gAkyi/ML2X2vBpZPguIlk UQUDX1HCcUWHKNKiwpLumihbvOC+6Gp77Me97yhJ0ntj7idoeYhCG8TIGKiZ2oAM+uPd HRcNeBKq6OGDYt21epgM7w7V2QnSQ9ru8QIhI= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Mu5DIc0NbB0Z7r2gzotYvhTmdRBgbglcV79CD2r2LzI1/pFSQerj45ZwwYK12mDY9q zv723vCFmWA6HzfWUjF4toqOCNylZMGZCGSVeXipZd1TJejm8mW8Hh4B5g8wToXAzQqE wm4RUOZISS5YZBVBRRaBr9fOO7nJyRQCaz4OI= |
Often when primary super block is corrupted, and xfs_repair is run on it, it try to find the secondary super block traversing in block units from XFS_AG_MIN_BYTES to end of partition. Now the problem is at first place we do not know whether we actually have secondary super block or not on partition, because if we know this inadvance then we may not waste time in scanning a complete disk. User point of view is that its like xfs_repair hangs (offcourse developer knows its not, point of view are different) 1. In which case secondary super block is created, is it created during format itself, if yes then at what location. 2. In our case we always find that when ever primary super block is corrupted, xfs_repair never find secondary super block also, so we are doubt ful of its existence. If its not there then we can just exit xfs_repair instead of waiting for minutes. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 4/5] xfs: introduce background inode reclaim work, Dave Chinner |
|---|---|
| Next by Date: | Re: corruption, xfs_repair 3.1.4 segfaults, Marc Lehmann |
| Previous by Thread: | Re: help: xfstests building error., Christoph Hellwig |
| Next by Thread: | [PATCH 0/3] avoid busy extents during user data allocations, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |