diff options
author | 2011-03-25 16:57:52 +0100 | |
---|---|---|
committer | 2011-03-25 17:04:08 +0100 | |
commit | 401a18e92ce32cd0ddfa5738899ca2b8114f2bbf (patch) | |
tree | f8c7dbb61a7a90ae43065075b640512899fafd28 /fs/ecryptfs/ecryptfs_kernel.h | |
parent | Merge branch 'for-2.6.39/core' of git://git.kernel.dk/linux-2.6-block (diff) | |
download | wireguard-linux-401a18e92ce32cd0ddfa5738899ca2b8114f2bbf.tar.xz wireguard-linux-401a18e92ce32cd0ddfa5738899ca2b8114f2bbf.zip |
block: fix bug with inserting flush requests as sort/merge
With the introduction of the on-stack plugging, we would assume
that any request being inserted was a normal file system request.
As flush/fua requires a special insert mode, this caused problems.
Fix this up by checking for this in flush_plug_list() and use
the appropriate insert mechanism.
Big thanks goes to Markus Tripplesdorf for tirelessly testing
patches, and to Sergey Senozhatsky for helping find the real
issue.
Reported-by: Markus Tripplesdorf <markus@trippelsdorf.de>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'fs/ecryptfs/ecryptfs_kernel.h')
0 files changed, 0 insertions, 0 deletions