public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] udf: Fix corrupt on-disk integrity descriptor following sync()
@ 2019-02-08 17:34 Steve Magnani
  2019-02-08 17:34 ` [PATCH 1/2] udf: factor out LVID finalization for reuse Steve Magnani
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Steve Magnani @ 2019-02-08 17:34 UTC (permalink / raw)
  To: jack; +Cc: linux-kernel

In cases where the next unique ID or file/directory count of the
in-core Logical Volume Integrity Descriptor have been updated,
a sync() causes a (corrupt) LVID with a stale CRC to be written to disk.

Ordinarily, this is corrected by an update of the on-disk LVID that occurs
when the filesystem is unmounted. However, if power is lost or the
filesystem resides on a device that is surprise-removed, the corrupt LVID
remains and can complicate later remounting or fsck/chkdsk.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-02-11  8:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-08 17:34 [PATCH 0/2] udf: Fix corrupt on-disk integrity descriptor following sync() Steve Magnani
2019-02-08 17:34 ` [PATCH 1/2] udf: factor out LVID finalization for reuse Steve Magnani
2019-02-08 17:34 ` [PATCH 2/2] udf: finalize integrity descriptor before writeback Steve Magnani
2019-02-09  4:06 ` [PATCH 0/2] udf: Fix corrupt on-disk integrity descriptor following sync() Steve Magnani
2019-02-11  8:42   ` Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox