| To: | linux-mm@xxxxxxxxx |
|---|---|
| Subject: | [PATCH 18/18] ext4: Allow punch hole with bigalloc enabled |
| From: | Lukas Czerner <lczerner@xxxxxxxxxx> |
| Date: | Fri, 1 Feb 2013 11:43:44 +0100 |
| Cc: | linux-kernel@xxxxxxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, linux-ext4@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx, Lukas Czerner <lczerner@xxxxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1359715424-32318-1-git-send-email-lczerner@xxxxxxxxxx> |
| References: | <1359715424-32318-1-git-send-email-lczerner@xxxxxxxxxx> |
In commits 5f95d21fb6f2aaa52830e5b7fb405f6c71d3ab85 and
30bc2ec9598a1b156ad75217f2e7d4560efdeeab we've reworked punch_hole
implementation and there is noting holding us back from using punch hole
on file system with bigalloc feature enabled.
This has been tested with fsx and xfstests.
Signed-off-by: Lukas Czerner <lczerner@xxxxxxxxxx>
---
fs/ext4/inode.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index e7bf594..01cf049 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -3530,11 +3530,6 @@ int ext4_punch_hole(struct file *file, loff_t offset,
loff_t length)
return -EOPNOTSUPP;
}
- if (EXT4_SB(inode->i_sb)->s_cluster_ratio > 1) {
- /* TODO: Add support for bigalloc file systems */
- return -EOPNOTSUPP;
- }
-
return ext4_ext_punch_hole(file, offset, length);
}
--
1.7.7.6
|
| Previous by Date: | [PATCH 17/18] ext4: make punch hole code path work with bigalloc, Lukas Czerner |
|---|---|
| Next by Date: | [ 12/33] xfs: Fix possible use-after-free with AIO, Greg Kroah-Hartman |
| Previous by Thread: | [PATCH 17/18] ext4: make punch hole code path work with bigalloc, Lukas Czerner |
| Next by Thread: | [ 12/33] xfs: Fix possible use-after-free with AIO, Greg Kroah-Hartman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |