Re: linux-next: next-20101022 broken with unset CONFIG_BKL

From: Sedat Dilek
Date: Fri Oct 22 2010 - 05:30:23 EST


On Fri, Oct 22, 2010 at 11:24 AM, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> On Friday 22 October 2010 11:13:23 Sedat Dilek wrote:
>> Hi,
>>
>> I am trying to compile latest linux-next with unset CONFIG_BKL.
>> Yes, one patch is missing from [1] to be able to compile a BKL-free kernel.
>> (BTW, the patch needs a trivial fix, see v2 attached to this email.)
>>
>> With next-20101022 the build breaks (sorry for the output in German):
>>
>> [ build.log ]
>> ...
>> Â LD [M] Âfs/ceph/ceph.o
>> Â LD Â Â Âfs/coda/built-in.o
>> Â CC [M] Âfs/coda/psdev.o
>> Â CC [M] Âfs/cifs/misc.o
>> /home/sd/src/linux-2.6/linux-2.6.36/debian/build/source_i386_none/fs/coda/psdev.c:
>> In function âcoda_psdev_writeâ:
>> /home/sd/src/linux-2.6/linux-2.6.36/debian/build/source_i386_none/fs/coda/psdev.c:140:
>> error: implicit declaration of function âlock_kernelâ
>> /home/sd/src/linux-2.6/linux-2.6.36/debian/build/source_i386_none/fs/coda/psdev.c:142:
>> error: implicit declaration of function âunlock_kernelâ
>> Â CC Â Â Âblock/blk-settings.o
>> make[6]: *** [fs/coda/psdev.o] Fehler 1
>> make[5]: *** [fs/coda] Fehler 2
>> make[5]: *** Warte auf noch nicht beendete Prozesse...
>> ...
>>
>> Just FYI.
>>
>
> Ok, thanks for the report. There is a patch for coda to remove the BKL.
> We discussed it yesterday and I subsequently removed the switch that
> disables it on non-BKL configs.
>
> We then agreed to not have the patch included in my series, and Jan's
> tree is not part of linux-next.
>
> There are more of these in mainline once Linus pulls my tree, but that
> just means that we need to get all the other trees into -rc1 that
> remove the BKL from other subsystems, before applying the patch that
> lets you build with CONFIG_FILE_LOCKING=y and CONFIG_BKL=n.
>
> Right now, both allyesconfig (with BKL) and allnoconfig (without coda)
> work fine, we only get a few really obscure randconfigs breaking.
>
> Â Â Â ÂArnd
>

Wow, you answer in realtime :-), Arnd.
Thanks for the explanations and I agree with you to wait for 27-rc1
and then to remove BKL.
Me just doing early-testing...

A pointer to the patch?
Thanks in advance.

- Sedat -
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/