]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Revert "exofs: Set i_mapping->backing_dev_info anyway"
authorBoaz Harrosh <bharrosh@panasas.com>
Wed, 2 Feb 2011 19:02:12 +0000 (21:02 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 23:14:36 +0000 (15:14 -0800)
commite8160e170bc2fb0fa6815f7a89495a2a387b940c
tree94d5bde2ee0abab60e4b7fc6dde39f4316288a1c
parent23a3d92534425a5498934aa900ab5e909ad779e3
Revert "exofs: Set i_mapping->backing_dev_info anyway"

commit 0b0abeaf3d30cec03ac6497fe978b8f7edecc5ae upstream.

This reverts commit 115e19c53501edc11f730191f7f047736815ae3d.

Apparently setting inode->bdi to one's own sb->s_bdi stops VFS from
sending *read-aheads*.  This problem was bisected to this commit.  A
revert fixes it.  I'll investigate farther why is this happening for the
next Kernel, but for now a revert.

I'm sending to stable@kernel.org as well, since it exists also in
2.6.37.  2.6.36 is good and does not have this patch.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/exofs/inode.c