Thread (4 messages) 4 messages, 2 authors, 2011-02-25

Re: [PULL REQUEST] md and related patches for 2.6.38

flat view

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2011-02-24 06:02:41
Also in: lkml

On Wed, Feb 23, 2011 at 9:53 PM, NeilBrown [off-list ref] wrote:
 The most noteworthy is :
      Fix over-zealous flush_disk when changing device size.

 which I include below in full.
Gah.

Why did you do that butt-ugly "__invalidate_device2()"?

There are something like three users of that existing
__invalidate_device() function, it would have made for a smaller and
cleaner patch to just fix them all, rather than change the calling
convention, create that ugly "2" function, and add the wrapper
function.

It's _doubly_ crazy, because that's exactly what you did to
"invalidate_inodes()", so it has this crazy mix of "change one
function" and "try to maintain another function unchanged".

Why?

                 Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help