]> git.baikalelectronics.ru Git - kernel.git/commit
mm/bounce.c: fix a regression where MS_SNAP_STABLE (stable pages snapshotting) was...
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 30 Sep 2013 20:45:09 +0000 (13:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 30 Sep 2013 21:31:02 +0000 (14:31 -0700)
commit481b0441dae353a2705676a0ed8fcba612a77ed3
tree3968e259fe6bf9625da6c61266aa64d2ffa9c9e0
parent51a266470296e2ef81cde4937bf6bd4c0176f44b
mm/bounce.c: fix a regression where MS_SNAP_STABLE (stable pages snapshotting) was ignored

The "force" parameter in __blk_queue_bounce was being ignored, which
means that stable page snapshots are not always happening (on ext3).
This of course leads to DIF disks reporting checksum errors, so fix this
regression.

The regression was introduced in commit 75cbe6fa49e2 ("bounce: Refactor
__blk_queue_bounce to not use bi_io_vec")

Reported-by: Mel Gorman <mgorman@suse.de>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Cc: Kent Overstreet <koverstreet@google.com>
Cc: <stable@vger.kernel.org> [3.10+]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/bounce.c