diff options
author | Josef Bacik <jbacik@fusionio.com> | 2012-09-11 19:40:07 (GMT) |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2012-10-01 19:19:20 (GMT) |
commit | 69ffb54347a71c4f2a4694e0c1155af8538d55f6 (patch) | |
tree | 34e12adce924817ccfba6ecc7be3b68e4cdcab98 /fs/btrfs/scrub.c | |
parent | 6df7881a84013f91405e5e113a4c322dd1804ba6 (diff) | |
download | linux-fsl-qoriq-69ffb54347a71c4f2a4694e0c1155af8538d55f6.tar.xz |
Btrfs: create a pinned em when writing to a prealloc range in DIO
Wade Cline reported a problem where he was getting garbage and warnings when
writing to a preallocated range via O_DIRECT. This is because we weren't
creating our normal pinned extent_map for the range we were writing to,
which was causing all sorts of issues. This patch fixes the problem and
makes his testcase much happier. Thanks,
Reported-by: Wade Cline <clinew@linux.vnet.ibm.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/scrub.c')
0 files changed, 0 insertions, 0 deletions