ocfs2: always unmap in ocfs2_data_convert_worker()
authorMark Fasheh <mark.fasheh@oracle.com>
Mon, 11 Dec 2006 19:06:36 +0000 (11:06 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Fri, 29 Dec 2006 00:38:59 +0000 (16:38 -0800)
commit7f4a2a97e324e8c826d1d983bc8efb5c59194f02
tree649129bc73b4de1dee662250892acf883cf45ba2
parent6c2aad0567e693f9588d0a0683f96ed872fb4641
ocfs2: always unmap in ocfs2_data_convert_worker()

Mmap-heavy clustered workloads were sometimes finding stale data on mmap
reads. The solution is to call unmap_mapping_range() on any down convert of
a data lock.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dlmglue.c