Re: [PATCH] Btrfs: create a pinned em when writing to a prealloc range in DIO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/11/2012 12:42 PM, Josef Bacik wrote:
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@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Josef Bacik<jbacik@xxxxxxxxxxxx>
I ran some basic tests and this seems to have fixed the issue.

Tested-by: Wade Cline <clinew@xxxxxxxxxxxxxxxxxx>

Thank you,
Wade

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux