Hello,
to provide reliable support for filesystem freezing, filesystems need to have
complete control over when metadata is changed. In particular,
file_update_time() calls from page fault code make it impossible for
filesystems to prevent inodes from being dirtied while the filesystem is
CC: Steve French sfre...@samba.org
CC: linux-cifs@vger.kernel.org
Signed-off-by: Jan Kara j...@suse.cz
---
fs/cifs/file.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
BTW: How does cifs_page_mkwrite() protect against races with truncate?
See e.g. checks in __block_page_mkwrite
CC: Steve French sfre...@samba.org
CC: linux-cifs@vger.kernel.org
Signed-off-by: Jan Kara j...@suse.cz
---
fs/cifs/file.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/fs/cifs/file.c b/fs/cifs/file.c
index 4dd9283..8e3b23b 100644
--- a/fs/cifs/file.c
+++ b/fs/cifs
On Thu 01-03-12 07:25:37, Jeff Layton wrote:
On Thu, 1 Mar 2012 12:41:38 +0100
Jan Kara j...@suse.cz wrote:
CC: Steve French sfre...@samba.org
CC: linux-cifs@vger.kernel.org
Signed-off-by: Jan Kara j...@suse.cz
---
fs/cifs/file.c |3 +++
1 files changed, 3 insertions(+), 0
On Thu 01-03-12 18:29:42, Ted Tso wrote:
On Thu, Mar 01, 2012 at 12:41:34PM +0100, Jan Kara wrote:
To fix the issue, this patch set changes page fault code to call
file_update_time() only when -page_mkwrite() callback is not provided. If
the
callback is provided
ncp_file_mmap does not set
.mkwrite - it should use filemap_page_mkwrite() I think.
Honza
--
Jan Kara j...@suse.cz
SUSE Labs, CR
--
To unsubscribe from this list: send the line unsubscribe linux-cifs in
the body of a message to majord
.
Honza
--
Jan Kara j...@suse.cz
SUSE Labs, CR
--
To unsubscribe from this list: send the line unsubscribe linux-cifs in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Jan Kara j...@suse.cz
SUSE Labs, CR
--
To unsubscribe from this list: send the line unsubscribe linux-cifs in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo
the FSs that do care, already take care of it.
I'm not exactly sure whether FSs that do care didn't start to use generic
functions which now always call wait_on_page_writeback() for quite a few
releases...
Honza
--
Jan Kara j
something with a 4Gb+ blocksize?
(4) Should the inode number and data version number fields be 128-bit?
--
Jan Kara j...@suse.cz
SUSE Labs, CR
--
To unsubscribe from this list: send the line unsubscribe linux-cifs in
the body of a message to majord...@vger.kernel.org
More majordomo info
On Thu 28-11-13 13:07:24, David Howells wrote:
Jan Kara j...@suse.cz wrote:
unsigned long long st_blocks;
When we are doing this, can we please also change 'st_blocks' to
'st_bytes'? We track space usage in kernel in bytes for a long time so it
would be nice
.
- gfs2 also used generic_write_sync to implement a crude version
of fallocate. It has been switched to use an open coded variant
instead.
Signed-off-by: Christoph Hellwig h...@lst.de
Looks good. You can add:
Reviewed-by: Jan Kara j...@suse.cz
12 matches
Mail list logo