[PATCH v4] Ceph: Punch hole support for kernel client

2013-08-14 Thread Li Wang
This patch implements fallocate and punch hole support for Ceph kernel client. Signed-off-by: Li Wang Signed-off-by: Yunchuan Wen --- Passed the fsx test from xfstests. Truncate rather than delete the first object. Thanks go to Sage and Zheng for the explanation. --- fs/ceph/file.c|

[PATCH v4] Ceph: Punch hole support for kernel client

2013-08-14 Thread Li Wang
This patch implements fallocate and punch hole support for Ceph kernel client. Signed-off-by: Li Wang liw...@ubuntukylin.com Signed-off-by: Yunchuan Wen yunchuan...@ubuntukylin.com --- Passed the fsx test from xfstests. Truncate rather than delete the first object. Thanks go to Sage and Zheng