And how are you thinking of this working "without introducing new
interfaces" if the caches are indeed incoherent? Please correct me if I
understand wrong, but when two caches are incoherent, I thought it means
that the above _would_ screw up unless protected by exclusive write locking
as I suggested in my previous post with the side effect that you can't
write the boot block without unmounting the filesystem or modifying some
interface somewhere.
As not all filesystems are like ext2, perhaps it would be better to fix
ext2 and not the cache coherency? If ext2 is claiming ownership of a
device, then it should do so in its entirety IMHO. You could always extend
ext2 to use the NTFS approach where the bootsector is nothing more than a
file which happens to exist on sector(s) zero (and following) of the
device... (just a thought)
Best regards,
Anton
-- Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @) Linux NTFS Maintainer / WWW: http://sourceforge.net/projects/linux-ntfs/ ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/