From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Axboe Subject: Re: [PATCH RESEND 1/2 block#for-linus] bio, fs: update READA and SWRITE to match the corresponding BIO_RW_* bits Date: Mon, 02 Aug 2010 22:04:56 +0200 Message-ID: <4C5724E8.9010204@kernel.dk> References: <20100628010346.GA2376@atlantis.cc.ndsu.nodak.edu> <4C28EFD6.2070203@vlnb.net> <20100714190325.GA25148@atlantis.cc.ndsu.nodak.edu> <4C3EF3AD.5070509@vlnb.net> <20100723191844.GB31152@atlantis.cc.ndsu.nodak.edu> <4C4D7DF5.9060909@vlnb.net> <20100727220110.GF31152@atlantis.cc.ndsu.nodak.edu> <4C5073F3.1060406@vlnb.net> <4C52A98A.7060507@kernel.org> <20100802104227.79340b49@notabene> <4C56D397.8010305@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4C56D397.8010305@kernel.org> Sender: linux-kernel-owner@vger.kernel.org To: Tejun Heo Cc: stable@kernel.org, Vladislav Bolkhovitin , Bryan Mesich , scst-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org, dm-devel@redhat.com, Neil Brown List-Id: linux-raid.ids On 08/02/2010 04:17 PM, Tejun Heo wrote: > Aieee... thanks for root causing it Neil. That was a stupid bug. I > knew that READ/WRITE were hardcoded but forgot about READA. :-( > Moving BIO_RW_AHEAD back to bit 1 might be a better solution but I'm > afraid that would cause more confusions downstream. This patch > updates READA and SWRITE to match BIO_RW_AHEAD and should also appear > in -stable releases. The next patch will create bio_types.h and > define all constants in terms of BIO_RW_*. Tejun, care to resend these against for-2.6.36? We can reference these for the stable backport (at least the first one should go in). -- Jens Axboe