* [Bug 14601] Wrong handling of META_BG when getting number of blocks for group descriptors [not found] <bug-14601-13602@https.bugzilla.kernel.org/> @ 2012-06-18 12:33 ` bugzilla-daemon 2012-06-18 12:34 ` bugzilla-daemon 1 sibling, 0 replies; 5+ messages in thread From: bugzilla-daemon @ 2012-06-18 12:33 UTC (permalink / raw) To: linux-ext4 https://bugzilla.kernel.org/show_bug.cgi?id=14601 Alan <alan@lxorguk.ukuu.org.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |alan@lxorguk.ukuu.org.uk Resolution| |OBSOLETE -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 14601] Wrong handling of META_BG when getting number of blocks for group descriptors [not found] <bug-14601-13602@https.bugzilla.kernel.org/> 2012-06-18 12:33 ` [Bug 14601] Wrong handling of META_BG when getting number of blocks for group descriptors bugzilla-daemon @ 2012-06-18 12:34 ` bugzilla-daemon 1 sibling, 0 replies; 5+ messages in thread From: bugzilla-daemon @ 2012-06-18 12:34 UTC (permalink / raw) To: linux-ext4 https://bugzilla.kernel.org/show_bug.cgi?id=14601 Alan <alan@lxorguk.ukuu.org.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 14601] New: Wrong handling of META_BG when getting number of blocks for group descriptors @ 2009-11-14 11:15 bugzilla-daemon 2009-11-17 21:47 ` [Bug 14601] " bugzilla-daemon ` (2 more replies) 0 siblings, 3 replies; 5+ messages in thread From: bugzilla-daemon @ 2009-11-14 11:15 UTC (permalink / raw) To: linux-ext4 http://bugzilla.kernel.org/show_bug.cgi?id=14601 Summary: Wrong handling of META_BG when getting number of blocks for group descriptors Product: File System Version: 2.5 Platform: All OS/Version: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: ext4 AssignedTo: fs_ext4@kernel-bugs.osdl.org ReportedBy: DamienDGU@hotmail.com Regression: No Created an attachment (id=23778) --> (http://bugzilla.kernel.org/attachment.cgi?id=23778) ext3/balloc.c and ext4/balloc.c change to count number of descriptors blocks When computing number of blocks for group descriptors for a given group, the total number of blocks for group descriptors is returned in case META_BG is enabled and group is inside the first groups (such as block of its descriptor is below s_first_meta_bg). I think it should be limited to s_first_meta_bg. This behaviour is incoherent with e2fsprogs behaviour (see http://marc.info/?l=linux-ext4&m=125794126219545&w=2) and can lead to corruption in case performing e2fsck on a filesystem where an uninitialized block bitmap was initialized by kernel. I attach a proposed change, but: - I did not compiled, nor tried it. - it is for ext3 and ext4. - I am not sure it is enough: there is some other location where s_gdb_count is used and where perhaps ext4_bg_num_gdb should be used instead as in ext4_setup_system_zone (I do not understand the behaviour here, it seems to not take META_BG flag into account at all) or ex4_iget. -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 14601] Wrong handling of META_BG when getting number of blocks for group descriptors 2009-11-14 11:15 [Bug 14601] New: " bugzilla-daemon @ 2009-11-17 21:47 ` bugzilla-daemon 2009-11-17 22:57 ` bugzilla-daemon 2009-11-18 9:52 ` bugzilla-daemon 2 siblings, 0 replies; 5+ messages in thread From: bugzilla-daemon @ 2009-11-17 21:47 UTC (permalink / raw) To: linux-ext4 http://bugzilla.kernel.org/show_bug.cgi?id=14601 Jan Kara <jack@suse.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jack@suse.cz --- Comment #1 from Jan Kara <jack@suse.cz> 2009-11-17 21:47:49 --- Thanks for the patch. It looks good but please look at Documentation/SubmittingPatches how a patch for kernel should look like (most notably it misses a Signed-off-by, it should be in a unified format and with a changelog). Also please create one patch for ext3 and one patch for ext4 since I will merge the ext3 part and Ted Tso takes care of ext4. Thanks. -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 14601] Wrong handling of META_BG when getting number of blocks for group descriptors 2009-11-14 11:15 [Bug 14601] New: " bugzilla-daemon 2009-11-17 21:47 ` [Bug 14601] " bugzilla-daemon @ 2009-11-17 22:57 ` bugzilla-daemon 2009-11-18 9:52 ` bugzilla-daemon 2 siblings, 0 replies; 5+ messages in thread From: bugzilla-daemon @ 2009-11-17 22:57 UTC (permalink / raw) To: linux-ext4 http://bugzilla.kernel.org/show_bug.cgi?id=14601 Theodore Tso <tytso@mit.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tytso@mit.edu --- Comment #2 from Theodore Tso <tytso@mit.edu> 2009-11-17 22:57:23 --- Jan, I have a IMHO better set of patches which I plan to merge for ext4; it ends up simplifying the code, and makes it easier to read. I'll backport my ext4 fixes to ext3 and send them to you. It's on my todo list. -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 14601] Wrong handling of META_BG when getting number of blocks for group descriptors 2009-11-14 11:15 [Bug 14601] New: " bugzilla-daemon 2009-11-17 21:47 ` [Bug 14601] " bugzilla-daemon 2009-11-17 22:57 ` bugzilla-daemon @ 2009-11-18 9:52 ` bugzilla-daemon 2 siblings, 0 replies; 5+ messages in thread From: bugzilla-daemon @ 2009-11-18 9:52 UTC (permalink / raw) To: linux-ext4 http://bugzilla.kernel.org/show_bug.cgi?id=14601 --- Comment #3 from Jan Kara <jack@suse.cz> 2009-11-18 09:52:46 --- OK, I'll wait for your backport then. Thanks. -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-06-18 12:34 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <bug-14601-13602@https.bugzilla.kernel.org/> 2012-06-18 12:33 ` [Bug 14601] Wrong handling of META_BG when getting number of blocks for group descriptors bugzilla-daemon 2012-06-18 12:34 ` bugzilla-daemon 2009-11-14 11:15 [Bug 14601] New: " bugzilla-daemon 2009-11-17 21:47 ` [Bug 14601] " bugzilla-daemon 2009-11-17 22:57 ` bugzilla-daemon 2009-11-18 9:52 ` bugzilla-daemon
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).