Il 01/11/2012 23:50, Jan Kara ha scritto:
On Thu 01-11-12 15:23:25, Nikola Ciprich wrote:
Nov 1 14:23:25 vmnci22 [ 1075.178123] SysRq : Show Blocked State
Nov 1 14:23:25 vmnci22 [ 1075.180555] taskPC stack
pid father
Nov 1 14:23:25 vmnci22 [ 1075.180592] fsfreeze
.
Marco Stornelli (22):
ufs: drop vmtruncate
sysv: drop vmtruncate
reiserfs: drop vmtruncate
procfs: drop vmtruncate
omfs: drop vmtruncate
ocfs2: drop vmtruncate
adfs: drop vmtruncate
affs: drop vmtruncate
bfs: drop vmtruncate
hfs: drop vmtruncate
hpfs: drop vmtruncate
jfs
Removed vmtruncate.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/ufs/inode.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/fs/ufs/inode.c b/fs/ufs/inode.c
index eb6d0b7..2b43ce9 100644
--- a/fs/ufs/inode.c
+++ b/fs/ufs/inode.c
@@ -536,8 +536,9
Removed vmtruncate.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/sysv/file.c |5 +++--
fs/sysv/itree.c |7 +--
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/fs/sysv/file.c b/fs/sysv/file.c
index 0a65939..9d4dc68 100644
--- a/fs/sysv/file.c
+++ b
Removed vmtruncate.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
Reviewed-by: Jan Kara j...@suse.cz
---
fs/reiserfs/file.c |3 +--
fs/reiserfs/inode.c| 15 +++
fs/reiserfs/reiserfs.h |1 +
3 files changed, 13 insertions(+), 6 deletions(-)
diff --git
Removed vmtruncate.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/proc/base.c|3 ++-
fs/proc/generic.c |3 ++-
fs/proc/proc_sysctl.c |3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/fs/proc/base.c b/fs/proc/base.c
index d295af9
Removed vmtruncate.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/omfs/file.c | 12
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/fs/omfs/file.c b/fs/omfs/file.c
index 77e3cb2..c10ab90 100644
--- a/fs/omfs/file.c
+++ b/fs/omfs/file.c
@@ -316,8
Removed vmtruncate.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/ocfs2/file.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
index 5a4ee77..f0737d0 100644
--- a/fs/ocfs2/file.c
+++ b/fs/ocfs2/file.c
@@ -1229,11
Removed vmtruncate.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/adfs/inode.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/fs/adfs/inode.c b/fs/adfs/inode.c
index e9bad50..81de375 100644
--- a/fs/adfs/inode.c
+++ b/fs/adfs/inode.c
@@ -57,8 +57,9
Removed vmtruncate.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/affs/file.c |8 +---
fs/affs/inode.c |5 -
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/fs/affs/file.c b/fs/affs/file.c
index 2f4c935..34ebe09 100644
--- a/fs/affs/file.c
+++ b
Removed vmtruncate.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/bfs/file.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/fs/bfs/file.c b/fs/bfs/file.c
index f20e8a7..4967258 100644
--- a/fs/bfs/file.c
+++ b/fs/bfs/file.c
@@ -171,8 +171,9
Removed vmtruncate.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/hfs/inode.c | 19 +--
1 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/fs/hfs/inode.c b/fs/hfs/inode.c
index 0b35903..e0b2c23 100644
--- a/fs/hfs/inode.c
+++ b/fs/hfs/inode.c
Removed vmtruncate.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/hpfs/file.c |8 +---
fs/hpfs/inode.c |5 -
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/fs/hpfs/file.c b/fs/hpfs/file.c
index 89d2a58..895871a 100644
--- a/fs/hpfs/file.c
+++ b
Removed vmtruncate.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/jfs/file.c |6 --
fs/jfs/inode.c | 13 +
2 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/fs/jfs/file.c b/fs/jfs/file.c
index 9d3afd1..dd7442c 100644
--- a/fs/jfs/file.c
Removed vmtruncate.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/hfsplus/inode.c | 19 +--
1 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/fs/hfsplus/inode.c b/fs/hfsplus/inode.c
index 2172aa5..2562462 100644
--- a/fs/hfsplus/inode.c
+++ b/fs
Removed vmtruncate.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/hostfs/hostfs_kern.c |8 +---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c
index 6c9f3a9..4348e84 100644
--- a/fs/hostfs/hostfs_kern.c
Removed vmtruncate.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/logfs/readwrite.c | 10 --
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/fs/logfs/readwrite.c b/fs/logfs/readwrite.c
index e1a3b6b..9a59cba 100644
--- a/fs/logfs/readwrite.c
+++ b/fs
Removed vmtruncate.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/minix/file.c |6 --
fs/minix/inode.c |7 +--
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/fs/minix/file.c b/fs/minix/file.c
index 4493ce6..adc6f54 100644
--- a/fs/minix/file.c
Removed vmtruncate.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/ncpfs/inode.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/fs/ncpfs/inode.c b/fs/ncpfs/inode.c
index d7e9fe7..b6881aa 100644
--- a/fs/ncpfs/inode.c
+++ b/fs/ncpfs/inode.c
@@ -976,9
Removed vmtruncate.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/nilfs2/file.c |1 -
fs/nilfs2/inode.c| 18 +-
fs/nilfs2/recovery.c |7 +--
3 files changed, 18 insertions(+), 8 deletions(-)
diff --git a/fs/nilfs2/file.c b/fs/nilfs2/file.c
Removed vmtruncate.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
Reviewed-by: Anton Altaparmakov an...@tuxera.com
---
fs/ntfs/file.c |8 +---
fs/ntfs/inode.c | 11 +--
fs/ntfs/inode.h |4
3 files changed, 18 insertions(+), 5 deletions(-)
diff --git a/fs
Removed vmtruncate.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/libfs.c |2 --
include/linux/fs.h |1 -
2 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/fs/libfs.c b/fs/libfs.c
index 7cc37ca..c8fe267 100644
--- a/fs/libfs.c
+++ b/fs/libfs.c
Removed vmtruncate.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
include/linux/mm.h |1 -
mm/truncate.c | 23 ---
2 files changed, 0 insertions(+), 24 deletions(-)
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 311be90..7eebde6 100644
Removed -truncate() from docs.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
Documentation/filesystems/Locking |6 --
Documentation/filesystems/porting |2 +-
Documentation/filesystems/vfs.txt | 11 ---
3 files changed, 1 insertions(+), 18 deletions(-)
diff
Hi all,
I send again the patch series to remove from kernel the old lock/unlock
super. Please consider this patch series for merge window of 3.7. The
patches are against Linus tree.
Thanks.
Marco Stornelli (8):
exofs: drop lock/unlock super
ext3: drop lock/unlock super
ext4: drop lock
Removed lock/unlock super.
Acked-by: Artem Bityutskiy artem.bityuts...@linux.intel.com
Acked-by: Boaz Harrosh bharr...@panasas.com
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/exofs/super.c |4
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/fs/exofs
Removed lock/unlock super.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
Reviewed-by: Jan Kara j...@suse.cz
---
fs/ext3/super.c |6 --
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/fs/ext3/super.c b/fs/ext3/super.c
index 17ae5c8..29e7971 100644
--- a/fs/ext3
Removed lock/unlock super. Added a new private s_lock mutex.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/fat/dir.c |4 ++--
fs/fat/fat.h |5 +++--
fs/fat/inode.c |5 +++--
fs/fat/namei_msdos.c | 26 +-
fs/fat
Removed lock/unlock super.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
Acked-by: Mikulas Patocka miku...@artax.karlin.mff.cuni.cz
---
fs/hpfs/super.c |3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/fs/hpfs/super.c b/fs/hpfs/super.c
index bc28bf0..a307622
Removed lock/unlock super. Added a new private s_lock mutex.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/sysv/balloc.c | 18 +-
fs/sysv/ialloc.c | 14 +++---
fs/sysv/inode.c |4 ++--
fs/sysv/super.c |1 +
fs/sysv/sysv.h |1 +
5
Removed lock/unlock super. Added a new private s_lock mutex.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/ufs/balloc.c | 30 +++---
fs/ufs/ialloc.c | 16
fs/ufs/super.c | 21 +++--
fs/ufs/ufs.h|1 +
4
Removed s_lock from super_block and removed lock/unlock super.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/super.c | 23 ---
include/linux/fs.h |1 -
2 files changed, 0 insertions(+), 24 deletions(-)
diff --git a/fs/super.c b/fs/super.c
Il 06/10/2012 22:06, Jaegeuk Kim ha scritto:
2012-10-06 (토), 17:54 +0400, Vyacheslav Dubeyko:
Hi Jaegeuk,
Hi.
We know each other, right? :)
From: 김재극 jaegeuk@samsung.com
To: v...@zeniv.linux.org.uk, 'Theodore Ts'o' ty...@mit.edu,
gre...@linuxfoundation.org,
Il 02/11/2012 11:40, Nikola Ciprich ha scritto:
I saw this behavior (task-hang) when I tested the fsfreeze code. I was
writing a little patch to replace fsfreeze's wait queue with a killable
queue, in this way the user can do at least kill -9, but since the
behavior was the same before your
Hi all,
I send the fourth patch series to remove vmtruncate. Any
comments/feedback are welcome.
Changes:
v4: fix an error for ocfs2, silently ignore truncate for procfs as
suggested by Al
v3: reworked after Al and Christoph comments
v2: add documentation cleaning
v1: first draft
Marco
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/ufs/inode.c | 15 ++-
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/fs/ufs/inode.c b/fs/ufs/inode.c
index eb6d0b7..ff24e44 100644
--- a/fs/ufs/inode.c
+++ b/fs/ufs/inode.c
@@ -526,6
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/sysv/file.c |5 +++--
fs/sysv/itree.c | 17 -
2 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/fs/sysv/file.c b/fs/sysv/file.c
index 0a65939..9d4dc68 100644
--- a/fs/sysv
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/reiserfs/file.c |3 +--
fs/reiserfs/inode.c| 15 +++
fs/reiserfs/reiserfs.h |1 +
3 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/fs/reiserfs/file.c b/fs/reiserfs
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/proc/base.c|7 ---
fs/proc/generic.c |9 +
fs/proc/proc_sysctl.c |7 ---
3 files changed, 1 insertions(+), 22 deletions(-)
diff --git a/fs/proc/base.c b/fs/proc/base.c
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/omfs/file.c | 22 +++---
1 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/fs/omfs/file.c b/fs/omfs/file.c
index 77e3cb2..e0d9b3e 100644
--- a/fs/omfs/file.c
+++ b/fs/omfs/file.c
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/ocfs2/file.c | 18 --
1 files changed, 0 insertions(+), 18 deletions(-)
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
index 5a4ee77..03f0d08 100644
--- a/fs/ocfs2/file.c
+++ b/fs/ocfs2/file.c
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/adfs/inode.c | 15 ++-
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/fs/adfs/inode.c b/fs/adfs/inode.c
index e9bad50..5f95d1e 100644
--- a/fs/adfs/inode.c
+++ b/fs/adfs/inode.c
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/affs/file.c | 18 --
fs/affs/inode.c |5 -
2 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/fs/affs/file.c b/fs/affs/file.c
index 2f4c935..af3261b 100644
--- a/fs/affs
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/bfs/file.c | 15 ++-
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/fs/bfs/file.c b/fs/bfs/file.c
index f20e8a7..ad3ea14 100644
--- a/fs/bfs/file.c
+++ b/fs/bfs/file.c
@@ -161,6
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/hfs/inode.c | 26 ++
1 files changed, 18 insertions(+), 8 deletions(-)
diff --git a/fs/hfs/inode.c b/fs/hfs/inode.c
index 0b35903..d47f116 100644
--- a/fs/hfs/inode.c
+++ b/fs/hfs
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/hpfs/file.c | 18 --
fs/hpfs/inode.c |5 -
2 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/fs/hpfs/file.c b/fs/hpfs/file.c
index 89d2a58..e7629f7 100644
--- a/fs/hpfs
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/jfs/file.c |6 --
fs/jfs/inode.c | 20 ++--
2 files changed, 18 insertions(+), 8 deletions(-)
diff --git a/fs/jfs/file.c b/fs/jfs/file.c
index 9d3afd1..dd7442c 100644
--- a/fs/jfs
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/hfsplus/inode.c | 27 ---
1 files changed, 16 insertions(+), 11 deletions(-)
diff --git a/fs/hfsplus/inode.c b/fs/hfsplus/inode.c
index 2172aa5..799b336 100644
--- a/fs/hfsplus/inode.c
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/logfs/readwrite.c | 10 --
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/fs/logfs/readwrite.c b/fs/logfs/readwrite.c
index e1a3b6b..9a59cba 100644
--- a/fs/logfs/readwrite.c
+++ b/fs
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/minix/file.c |6 --
fs/minix/inode.c | 17 -
2 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/fs/minix/file.c b/fs/minix/file.c
index 4493ce6..adc6f54 100644
--- a/fs
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/ncpfs/inode.c |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/fs/ncpfs/inode.c b/fs/ncpfs/inode.c
index d7e9fe7..1acdad7 100644
--- a/fs/ncpfs/inode.c
+++ b/fs/ncpfs/inode.c
@@ -976,9
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/nilfs2/file.c |1 -
fs/nilfs2/inode.c| 24 +++-
fs/nilfs2/nilfs.h|1 +
fs/nilfs2/recovery.c |3 ++-
4 files changed, 18 insertions(+), 11 deletions(-)
diff --git a/fs
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/ntfs/file.c | 16 +---
fs/ntfs/inode.c |8 ++--
fs/ntfs/inode.h |4
3 files changed, 23 insertions(+), 5 deletions(-)
diff --git a/fs/ntfs/file.c b/fs/ntfs/file.c
index 1ecf464
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/libfs.c |2 --
include/linux/fs.h |1 -
2 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/fs/libfs.c b/fs/libfs.c
index 7cc37ca..c8fe267 100644
--- a/fs/libfs.c
+++ b/fs/libfs.c
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
include/linux/mm.h |1 -
mm/truncate.c | 23 ---
2 files changed, 0 insertions(+), 24 deletions(-)
diff --git a/include/linux/mm.h b/include/linux/mm.h
index fa06804..95f70bb 100644
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
Documentation/filesystems/Locking |6 --
Documentation/filesystems/porting |2 +-
Documentation/filesystems/vfs.txt | 11 ---
3 files changed, 1 insertions(+), 18 deletions(-)
diff --git
With the commit 3be2be0a32c18b0fd6d623cda63174a332ca0de1 we removed vmtruncate,
but actaully there is no need to call inode_newsize_ok() because the checks are
already done in inode_change_ok() at the begin of the function.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/hostfs
() (as
suggested by Al watching the ext2 code). The modifications are a bit
deeper and they are *not* tested. I ask for comments to each fs
maintainers. I hope the series can be pushed for 3.8.
Changes:
v3: reworked after Al and Christoph comments
v2: add documentation cleaning
v1: first draft
Marco
Removed vmtruncate
Signed-off-by: Marco marco.storne...@gmail.com
---
fs/ufs/inode.c | 15 ++-
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/fs/ufs/inode.c b/fs/ufs/inode.c
index eb6d0b7..ff24e44 100644
--- a/fs/ufs/inode.c
+++ b/fs/ufs/inode.c
@@ -526,6 +526,14
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/sysv/file.c |5 +++--
fs/sysv/itree.c | 17 -
2 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/fs/sysv/file.c b/fs/sysv/file.c
index 0a65939..9d4dc68 100644
--- a/fs/sysv
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/reiserfs/file.c |3 +--
fs/reiserfs/inode.c| 15 +++
fs/reiserfs/reiserfs.h |1 +
3 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/fs/reiserfs/file.c b/fs/reiserfs
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/proc/base.c|3 ++-
fs/proc/generic.c |3 ++-
fs/proc/proc_sysctl.c |3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/fs/proc/base.c b/fs/proc/base.c
index 144a967
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/omfs/file.c | 22 +++---
1 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/fs/omfs/file.c b/fs/omfs/file.c
index 77e3cb2..e0d9b3e 100644
--- a/fs/omfs/file.c
+++ b/fs/omfs/file.c
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/ocfs2/file.c | 19 +--
1 files changed, 1 insertions(+), 18 deletions(-)
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
index 5a4ee77..eb16e44 100644
--- a/fs/ocfs2/file.c
+++ b/fs/ocfs2/file.c
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/adfs/inode.c | 15 ++-
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/fs/adfs/inode.c b/fs/adfs/inode.c
index e9bad50..5f95d1e 100644
--- a/fs/adfs/inode.c
+++ b/fs/adfs/inode.c
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/affs/file.c | 18 --
fs/affs/inode.c |5 -
2 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/fs/affs/file.c b/fs/affs/file.c
index 2f4c935..af3261b 100644
--- a/fs/affs
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/bfs/file.c | 15 ++-
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/fs/bfs/file.c b/fs/bfs/file.c
index f20e8a7..ad3ea14 100644
--- a/fs/bfs/file.c
+++ b/fs/bfs/file.c
@@ -161,6
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/hfs/inode.c | 26 ++
1 files changed, 18 insertions(+), 8 deletions(-)
diff --git a/fs/hfs/inode.c b/fs/hfs/inode.c
index 0b35903..d47f116 100644
--- a/fs/hfs/inode.c
+++ b/fs/hfs
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/hpfs/file.c | 18 --
fs/hpfs/inode.c |5 -
2 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/fs/hpfs/file.c b/fs/hpfs/file.c
index 89d2a58..8b8b20d 100644
--- a/fs/hpfs
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/jfs/file.c |6 --
fs/jfs/inode.c | 20 ++--
2 files changed, 18 insertions(+), 8 deletions(-)
diff --git a/fs/jfs/file.c b/fs/jfs/file.c
index 9d3afd1..dd7442c 100644
--- a/fs/jfs
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/hfsplus/inode.c | 27 ---
1 files changed, 16 insertions(+), 11 deletions(-)
diff --git a/fs/hfsplus/inode.c b/fs/hfsplus/inode.c
index 2172aa5..799b336 100644
--- a/fs/hfsplus/inode.c
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/logfs/readwrite.c | 10 --
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/fs/logfs/readwrite.c b/fs/logfs/readwrite.c
index e1a3b6b..9a59cba 100644
--- a/fs/logfs/readwrite.c
+++ b/fs
Removed vmtruncate
Signed-off-by: Marco marco.storne...@gmail.com
---
fs/minix/file.c |6 --
fs/minix/inode.c | 17 -
2 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/fs/minix/file.c b/fs/minix/file.c
index 4493ce6..adc6f54 100644
--- a/fs/minix/file.c
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/ncpfs/inode.c |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/fs/ncpfs/inode.c b/fs/ncpfs/inode.c
index d7e9fe7..1acdad7 100644
--- a/fs/ncpfs/inode.c
+++ b/fs/ncpfs/inode.c
@@ -976,9
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/nilfs2/file.c |1 -
fs/nilfs2/inode.c| 24 +++-
fs/nilfs2/nilfs.h|1 +
fs/nilfs2/recovery.c |3 ++-
4 files changed, 18 insertions(+), 11 deletions(-)
diff --git a/fs
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/ntfs/file.c | 16 +---
fs/ntfs/inode.c |8 ++--
fs/ntfs/inode.h |4
3 files changed, 23 insertions(+), 5 deletions(-)
diff --git a/fs/ntfs/file.c b/fs/ntfs/file.c
index 1ecf464
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/libfs.c |2 --
include/linux/fs.h |1 -
2 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/fs/libfs.c b/fs/libfs.c
index 7cc37ca..c8fe267 100644
--- a/fs/libfs.c
+++ b/fs/libfs.c
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
include/linux/mm.h |1 -
mm/truncate.c | 23 ---
2 files changed, 0 insertions(+), 24 deletions(-)
diff --git a/include/linux/mm.h b/include/linux/mm.h
index fa06804..95f70bb 100644
Removed vmtruncate
Signed-off-by: Marco marco.storne...@gmail.com
---
Documentation/filesystems/Locking |6 --
Documentation/filesystems/porting |2 +-
Documentation/filesystems/vfs.txt | 11 ---
3 files changed, 1 insertions(+), 18 deletions(-)
diff --git
2012/10/23 Jaegeuk Kim jaegeuk@samsung.com:
This adds a header file describing the on-disk layout of f2fs.
Signed-off-by: Changman Lee cm224@samsung.com
Signed-off-by: Chul Lee chur@samsung.com
Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com
---
include/linux/f2fs_fs.h |
2012/10/23 Jaegeuk Kim jaegeuk@samsung.com:
This adds the implementation of superblock operations for f2fs, which includes
- init_f2fs_fs/exit_f2fs_fs
- f2fs_mount
- super_operations of f2fs
Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com
---
fs/f2fs/super.c | 590
2012/10/23 Jaegeuk Kim jaegeuk@samsung.com:
This adds memory operations and file/file_inode operations.
- F2FS supports fallocate(), mmap(), fsync(), and basic ioctl().
Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com
---
fs/f2fs/file.c | 640
2012/10/23 Jaegeuk Kim jaegeuk@samsung.com:
This adds inode operations for directory, symlink, and special inodes.
Signed-off-by: Changman Lee cm224@samsung.com
Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com
---
fs/f2fs/namei.c | 494
2012/10/23 Jaegeuk Kim jaegeuk@samsung.com:
+void f2fs_truncate(struct inode *inode)
+{
+ if (!(S_ISREG(inode-i_mode) || S_ISDIR(inode-i_mode) ||
+ S_ISLNK(inode-i_mode)))
+ return;
+
+ if (IS_APPEND(inode) ||
2012/10/23 Jaegeuk Kim jaegeuk@samsung.com:
-Original Message-
From: Marco Stornelli [mailto:marco.storne...@gmail.com]
Sent: Tuesday, October 23, 2012 4:02 PM
To: Jaegeuk Kim
Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org;
gre...@linuxfoundation.org;
v
2012/10/23 Jaegeuk Kim jaegeuk@samsung.com:
2012/10/23 Jaegeuk Kim jaegeuk@samsung.com:
-Original Message-
From: Marco Stornelli [mailto:marco.storne...@gmail.com]
Sent: Tuesday, October 23, 2012 4:02 PM
To: Jaegeuk Kim
Cc: linux-fsde...@vger.kernel.org; linux-kernel
2012/10/23 Joel Becker jl...@evilplan.org:
On Tue, Oct 23, 2012 at 10:58:42AM +0200, Marco Stornelli wrote:
2012/10/23 Joel Becker jl...@evilplan.org:
On Sat, Oct 20, 2012 at 02:19:00PM +0200, Marco Stornelli wrote:
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne
Il 24/10/2012 17:12, Christoph Hellwig ha scritto:
On Sat, Oct 20, 2012 at 02:17:33PM +0200, Marco Stornelli wrote:
Removed vmtruncate
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
As Al pointed out we probably shouldn't even allow truncate on procfs.
Can look into refusing
Il 09/10/2012 01:24, Al Viro ha scritto:
On Mon, Oct 08, 2012 at 02:58:05PM -0700, Boaz Harrosh wrote:
Hi Marco
I was sure you guys where pushing this patch through some
vfs tree. (Hence my Acked-by below). I have just sent Linus
a pull request for the 3.7 Kernel. I could perhaps append this
2012/10/9 Al Viro v...@zeniv.linux.org.uk:
On Tue, Oct 09, 2012 at 05:55:12PM +0200, Marco Stornelli wrote:
Thanks Al. For me there aren't problems to push it via Al or via
other trees. For example the patch for ext4 is in Ted's tree. You
tell me what you want and I do it :)
Um... Then I'd
Il 13/10/2012 02:20, Al Viro ha scritto:
Stuff from Jeff Layton, mostly. Sanitizing interplay between
audit and namei, removing a lot of insanity from audit_inode() mess
and getting things ready for his ESTALE patchset. Please, pull from
the usual place -
Il 13/10/2012 09:51, Al Viro ha scritto:
On Sat, Oct 13, 2012 at 09:20:45AM +0200, Marco Stornelli wrote:
Il 13/10/2012 02:20, Al Viro ha scritto:
Stuff from Jeff Layton, mostly. Sanitizing interplay between
audit and namei, removing a lot of insanity from audit_inode() mess
Il 13/10/2012 19:07, Al Viro ha scritto:
On Sat, Oct 13, 2012 at 12:04:55PM -0400, Christoph Hellwig wrote:
On Sat, Oct 13, 2012 at 05:01:15PM +0100, Al Viro wrote:
You know, I'm in the middle of dealing with one such TODO. Yours, as it
were. From six years ago. kernel_thread() unexporting.
2012/10/25 Joel Becker jl...@evilplan.org:
On Tue, Oct 23, 2012 at 02:48:38PM +0200, Marco Stornelli wrote:
2012/10/23 Joel Becker jl...@evilplan.org:
On Tue, Oct 23, 2012 at 10:58:42AM +0200, Marco Stornelli wrote:
2012/10/23 Joel Becker jl...@evilplan.org:
On Sat, Oct 20, 2012 at 02:19
Il 13/10/2012 18:19, Christoph Hellwig ha scritto:
if ((attr-ia_valid ATTR_SIZE)
attr-ia_size != i_size_read(inode)) {
- status = vmtruncate(inode, attr-ia_size);
+ status = inode_newsize_ok(inode, attr-ia_size);
if (status) {
Resend due to mail client problem.
Marco
2013/4/17 Marco Stornelli marco.storne...@gmail.com
Hi,
2013/4/15 Jan Kara j...@suse.cz
On Sat 13-04-13 12:35:54, Marco Stornelli wrote:
Added a new enum to decide if we want to sleep in uninterruptible or
killable state or we want simply
fsfreeze point of view,
sb_start_intwrite is not changed;
2) sb_start_write and sb_start_pagefault now return a proper error code
if the process receive SIGKILL and all the functions must manage this
error and return EINTR or VM_FAULT_RETRY.
Marco Stornelli (4):
fsfreeze: add new internal
Added a new internal function __sb_start_write_wait. It must be called
when we want wait for freeze events. We can wait in killable or
uninterruptible state. The old __sb_start_write now it's used only
when we don't want to wait.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs
In every place where sb_start_write was called now we must manage
the error code and return -EINTR.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/btrfs/file.c|9 +++--
fs/cifs/file.c |4 +++-
fs/ext4/mmp.c |3 ++-
fs/ext4/super.c|4 +++-
fs
In every place where sb_start_pagefault was called now we must manage
the error code and return VM_FAULT_RETRY.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/btrfs/inode.c |4 +++-
fs/buffer.c|4 +++-
fs/ext4/inode.c|4 +++-
fs/f2fs/file.c |4
1 - 100 of 482 matches
Mail list logo