[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#685407: [wheezy] ext4 dir_index + nfs duplicate cookies problem with large dovecot maildirs



Jonathan Nieder <jrnieder@gmail.com> 2012-08-20 17:33:
reassign 685407 src:linux 3.2.20-1
fixed 685407 linux/3.5-1~experimental.1
tags 685407 + upstream patch moreinfo
quit

Hi again,

Brian Kroth wrote:

linux-image-3.5-trunk-amd64 (3.5-1~experimental.1) on the server
does indeed appear to fix this.
[...]
Attached is a simple script I used to create a test dir for this.
The ext4 volume was 3G.

Very nice to hear.

Please test the attached patches together against a 3.2.y kernel,
for example using the following instructions.

0. prerequisites:

	apt-get install git build-essential

1. get the kernel history, if you don't already have it:

	git clone \
	  git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

2. fetch point releases:

	cd linux
	git remote add stable \
	  git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
	git fetch stable

3. configure, build, test:

	git checkout stable/linux-3.2.y

3.2.28

	cp /boot/config-$(uname -r) .config; # current configuration
	scripts/config --disable DEBUG_INFO
	make localmodconfig; # optional: minimize configuration
	make deb-pkg; # optionally with -j<num> for parallel build
	dpkg -i ../<name of package>; # as root
	reboot
	... test test test ...

   Hopefully it reproduces the bug.  So:

It does reproduce the bug.

4. try the patches:

	cd linux
	git am -3sc $(ls -1 /path/to/patches/0*)
	make deb-pkg; # maybe with -j4
	dpkg -i ../<name of package>; # as root
	reboot
	... test test test ...

It does *not* reproduce the bug.

Looks to have worked.

If it works, someone on the kernel team will probably apply the
patches to wheezy (meaning they would automatically flow into
squeeze-backports as well).

Good news.

Let me know if you need anything else.

Thanks for the help and good instructions,
Brian

(An alternative set of instructions is at [1].)

Hope that helps,
Jonathan

[1] http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official
or the corresponding page in the debian-kernel-handbook package

Attachment: signature.asc
Description: Digital signature


Reply to: