[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTinm95OYw2Sj0DuABTiG6eWzePcfAZyxOE0c4GsT@mail.gmail.com>
Date: Wed, 23 Feb 2011 22:01:49 -0800
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: NeilBrown <neilb@...e.de>
Cc: "linux-raid@...r.kernel.org" <linux-raid@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Andrew Patterson <andrew.patterson@...com>,
Jens Axboe <axboe@...nel.dk>, Jeff Moyer <jmoyer@...hat.com>
Subject: Re: [PULL REQUEST] md and related patches for 2.6.38
On Wed, Feb 23, 2011 at 9:53 PM, NeilBrown <neilb@...e.de> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists