So the code per-se makes sense. However, have you came across such a case in the real world or are you just fixing a theoretical (but real) issue?
As discussed in the other thread, the SB csum check is coming to scan context as well. Now the question I have is, what do we do if the csum doesn't match, in the inital version we can fail the mount, but in the long run potentially we could recover it from the good copy. So if we have to recover it from the good copy we have to ensure copies are really copies of the primary SB. Thanks, Anand -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
