Re: [PATCH 0/2] xfsprogs: metadump/mdrestore warns about dirty journal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/11/17 9:12 AM, Jan Tulak wrote:
> If we are exporting obfuscated metadata with a dirty journal, the journal is not obfuscated. So when we restore it and then replay a log, the obfuscated metadata can clash with what is in journal and corrupt the image. So, tell the user about this risk, both when exporting and importing the dump.


I'm going to go ahead & commit these doc changes with some of the
suggestions from the list; once it's in, if people want further tweaks,
send patches.  Trying to wind up the bikeshedding, though.

Thanks,
-Eric

> 
> Git tree on github: https://github.com/jtulak/xfsprogs-dev/tree/metadump
> Based on revision fc1d645
> 
> Jan Tulak (2):
>   metadump: warn about corruption if log is dirty
>   mdrestore: warn about corruption if log is dirty
> 
>  db/metadump.c             |  3 +-
>  mdrestore/Makefile        |  4 +--
>  mdrestore/xfs_mdrestore.c | 84 +++++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 88 insertions(+), 3 deletions(-)
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux