]> git.baikalelectronics.ru Git - kernel.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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Feb 2011 01:53:27 +0000 (17:53 -0800)
commit1adfbdf65d96d4e3c72b4449fc4f0b29f1ddc427
tree6797384d6bbf617b6b1a6d5bb0a307c28c52798c
parent02083a0d32323a9a4ea156a135562a1faf6e9438
Revert "exofs: Set i_mapping->backing_dev_info anyway"

This reverts commit 4bf0bd6ed5edf2d1ccd640308d68bd161d803336.

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.

CC: Stable Tree <stable@kernel.org>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/exofs/inode.c