| To: | Zheng Liu <gnehzuil.liu@xxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 0/4][RFC] remove duplicated check from ext4, xfs, btrfs, and ocfs2 |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Tue, 20 Nov 2012 05:14:53 -0500 |
| Cc: | linux-fsdevel@xxxxxxxxxxxxxxx, linux-ext4@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx, linux-btrfs@xxxxxxxxxxxxxxx, ocfs2-devel@xxxxxxxxxxxxxx, yan@xxxxxxxxxxxxxxxxxx, Zheng Liu <wenqing.lz@xxxxxxxxxx> |
| In-reply-to: | <1353403785-3489-1-git-send-email-wenqing.lz@xxxxxxxxxx> |
| References: | <1353403785-3489-1-git-send-email-wenqing.lz@xxxxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Tue, Nov 20, 2012 at 05:29:41PM +0800, Zheng Liu wrote: > Hi all, > > This patch series tries to remove a sanity check in fallocate from specific > filesystems because vfs has already checked it. > > I am not very familiar with why we need to do this duplicated check. Please > let > me know if I miss something. Each filesystem driver checks to see if a flag that it doesn't support gets passed down. This was done with the intention that we can add new flags to the VFS without having to update every filesystem. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 2/9] ext4: honor the O_SYNC flag for aysnchronous direct I/O requests, Jan Kara |
|---|---|
| Next by Date: | Re: [PATCH 9/9] blkdev: Fix up AIO+DIO+O_SYNC to do the sync part correctly, Jan Kara |
| Previous by Thread: | [PATCH 4/4][RFC] ocfs2: remove duplicated check from ocfs2_fallocate, Zheng Liu |
| Next by Thread: | Re: [PATCH 0/4][RFC] remove duplicated check from ext4, xfs, btrfs, and ocfs2, Zheng Liu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |