linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* f2fs_bug_on in init_dirty_segmap
@ 2017-03-08 14:24 Philippe De Muyter
  2017-03-08 21:52 ` Jaegeuk Kim
  0 siblings, 1 reply; 9+ messages in thread
From: Philippe De Muyter @ 2017-03-08 14:24 UTC (permalink / raw)
  To: linux-f2fs-devel

Hi f2fs developpers,

Please excuse my maybe dumb question.

I recently encountered a kernel panic at root mount time (thus making my
system unusable, as my root partition is formatted as f2fs) due to the
following segment in fs/f2fs/segment.c:init_dirty_segmap

		if (valid_blocks > sbi->blocks_per_seg) {
                        f2fs_bug_on(sbi, 1); <<<<<<<<<<<<<<<<<<<<
			continue;
		}

Is that really a condition requiring a kernel panic, or could a read-only
mount be allowed ?

Philippe

-- 
Philippe De Muyter +32 2 6101532 Macq SA rue de l'Aeronef 2 B-1140 Bruxelles

------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford

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

end of thread, other threads:[~2017-03-12 10:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-08 14:24 f2fs_bug_on in init_dirty_segmap Philippe De Muyter
2017-03-08 21:52 ` Jaegeuk Kim
2017-03-09  8:42   ` Philippe De Muyter
2017-03-09 23:11     ` Jaegeuk Kim
2017-03-10  9:28       ` Philippe De Muyter
2017-03-10 18:20         ` Jaegeuk Kim
2017-03-10 18:58           ` Philippe De Muyter
2017-03-11 21:01             ` Jaegeuk Kim
2017-03-12 10:32               ` Philippe De Muyter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).