]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: modify clean_io_failure and make it suit direct io
authorMiao Xie <miaox@cn.fujitsu.com>
Fri, 12 Sep 2014 10:44:01 +0000 (18:44 +0800)
committerChris Mason <clm@fb.com>
Wed, 17 Sep 2014 20:38:59 +0000 (13:38 -0700)
commitb50144bafe691e111452593e73fb47487b0829b4
treeb9799ad854dfe4f213564354e89a272fda7cdddb
parent3eb2074c654ca003e9392cf6a3267730bb749925
Btrfs: modify clean_io_failure and make it suit direct io

We could not use clean_io_failure in the direct IO path because it got the
filesystem information from the page structure, but the page in the direct
IO bio didn't have the filesystem information in its structure. So we need
modify it and pass all the information it need by parameters.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h
fs/btrfs/scrub.c