[PATCH v7] ext4: Add support FALLOC_FL_COLLAPSE_RANGE for fallocate

2014-03-02 Thread Namjae Jeon
From: Namjae Jeon This patch implements fallocate's FALLOC_FL_COLLAPSE_RANGE for Ext4. The semantics of this flag are following: 1) It collapses the range lying between offset and length by removing any data blocks which are present in this range and than updates all the logical offsets

[PATCH v7] ext4: Add support FALLOC_FL_COLLAPSE_RANGE for fallocate

2014-03-02 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com This patch implements fallocate's FALLOC_FL_COLLAPSE_RANGE for Ext4. The semantics of this flag are following: 1) It collapses the range lying between offset and length by removing any data blocks which are present in this range and than updates all