linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/21 v3] drop vmtruncate
@ 2012-10-20 12:14 Marco Stornelli
  2012-11-03  9:21 ` [PATCH 00/21 v4] " Marco Stornelli
  0 siblings, 1 reply; 3+ messages in thread
From: Marco Stornelli @ 2012-10-20 12:14 UTC (permalink / raw)
  To: Linux FS Devel
  Cc: Al Viro, Linux Kernel, Christoph Hellwig, Evgeniy Dushistov,
	reiserfs-devel, Bob Copeland, ocfs2-devel, Tigran A. Aivazian,
	Mikulas Patocka, jfs-discussion, logfs, Petr Vandrovec,
	linux-nilfs, linux-ntfs-dev, linux-doc

Hi all,

I sent the third version of the patch series. After a couple of comments 
by Al and Christoph, now the patches are no more 1:1 replace of 
vmtruncate. A lot of inode_newsize_ok() and truncate_setsize() are now 
gone. For each fs, where needed, I wrote a new fs_write_failed() (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 Stornelli (21):
   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: drop vmtruncate
   hfsplus: drop vmtruncate
   logfs: drop vmtruncate
   minix: drop vmtruncate
   ncpfs: drop vmtruncate
   nilfs2: drop vmtruncate
   ntfs: drop vmtruncate
   vfs: drop vmtruncate
   mm: drop vmtruncate
   Documentation: drop vmtruncate

  Documentation/filesystems/Locking |    6 ------
  Documentation/filesystems/porting |    2 +-
  Documentation/filesystems/vfs.txt |   11 -----------
  fs/adfs/inode.c                   |   15 ++++++++++-----
  fs/affs/file.c                    |   18 ++++++++++++------
  fs/affs/inode.c                   |    5 ++++-
  fs/bfs/file.c                     |   15 ++++++++++-----
  fs/hfs/inode.c                    |   26 ++++++++++++++++++--------
  fs/hfsplus/inode.c                |   27 ++++++++++++++++-----------
  fs/hpfs/file.c                    |   18 ++++++++++++------
  fs/hpfs/inode.c                   |    5 ++++-
  fs/jfs/file.c                     |    6 ++++--
  fs/jfs/inode.c                    |   20 ++++++++++++++------
  fs/libfs.c                        |    2 --
  fs/logfs/readwrite.c              |   10 ++++++++--
  fs/minix/file.c                   |    6 ++++--
  fs/minix/inode.c                  |   17 ++++++++++++-----
  fs/ncpfs/inode.c                  |    4 +---
  fs/nilfs2/file.c                  |    1 -
  fs/nilfs2/inode.c                 |   24 +++++++++++++++---------
  fs/nilfs2/nilfs.h                 |    1 +
  fs/nilfs2/recovery.c              |    3 ++-
  fs/ntfs/file.c                    |   16 +++++++++++++---
  fs/ntfs/inode.c                   |    8 ++++++--
  fs/ntfs/inode.h                   |    4 ++++
  fs/ocfs2/file.c                   |   19 +------------------
  fs/omfs/file.c                    |   22 +++++++++++++++-------
  fs/proc/base.c                    |    3 ++-
  fs/proc/generic.c                 |    3 ++-
  fs/proc/proc_sysctl.c             |    3 ++-
  fs/reiserfs/file.c                |    3 +--
  fs/reiserfs/inode.c               |   15 +++++++++++----
  fs/reiserfs/reiserfs.h            |    1 +
  fs/sysv/file.c                    |    5 +++--
  fs/sysv/itree.c                   |   17 ++++++++++++-----
  fs/ufs/inode.c                    |   15 ++++++++++-----
  include/linux/fs.h                |    1 -
  include/linux/mm.h                |    1 -
  mm/truncate.c                     |   23 -----------------------
  39 files changed, 231 insertions(+), 170 deletions(-)

-- 
1.7.3.4
---


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 00/21 v4] drop vmtruncate
  2012-10-20 12:14 [PATCH 00/21 v3] drop vmtruncate Marco Stornelli
@ 2012-11-03  9:21 ` Marco Stornelli
  2012-12-15 10:43   ` [PATCH 00/21 v5] " Marco Stornelli
  0 siblings, 1 reply; 3+ messages in thread
From: Marco Stornelli @ 2012-11-03  9:21 UTC (permalink / raw)
  To: Linux FS Devel
  Cc: Al Viro, Linux Kernel, Christoph Hellwig, Evgeniy Dushistov,
	reiserfs-devel, Bob Copeland, ocfs2-devel, Tigran A. Aivazian,
	Mikulas Patocka, jfs-discussion, logfs, Petr Vandrovec,
	linux-nilfs, linux-ntfs-dev, linux-doc

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 Stornelli (21):
   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: drop vmtruncate
   hfsplus: drop vmtruncate
   logfs: drop vmtruncate
   minix: drop vmtruncate
   ncpfs: drop vmtruncate
   nilfs2: drop vmtruncate
   ntfs: drop vmtruncate
   vfs: drop vmtruncate
   mm: drop vmtruncate
   documentation: drop vmtruncate

  Documentation/filesystems/Locking |    6 ------
  Documentation/filesystems/porting |    2 +-
  Documentation/filesystems/vfs.txt |   11 -----------
  fs/adfs/inode.c                   |   15 ++++++++++-----
  fs/affs/file.c                    |   18 ++++++++++++------
  fs/affs/inode.c                   |    5 ++++-
  fs/bfs/file.c                     |   15 ++++++++++-----
  fs/hfs/inode.c                    |   26 ++++++++++++++++++--------
  fs/hfsplus/inode.c                |   27 ++++++++++++++++-----------
  fs/hpfs/file.c                    |   18 ++++++++++++------
  fs/hpfs/inode.c                   |    5 ++++-
  fs/jfs/file.c                     |    6 ++++--
  fs/jfs/inode.c                    |   20 ++++++++++++++------
  fs/libfs.c                        |    2 --
  fs/logfs/readwrite.c              |   10 ++++++++--
  fs/minix/file.c                   |    6 ++++--
  fs/minix/inode.c                  |   17 ++++++++++++-----
  fs/ncpfs/inode.c                  |    4 +---
  fs/nilfs2/file.c                  |    1 -
  fs/nilfs2/inode.c                 |   24 +++++++++++++++---------
  fs/nilfs2/nilfs.h                 |    1 +
  fs/nilfs2/recovery.c              |    3 ++-
  fs/ntfs/file.c                    |   16 +++++++++++++---
  fs/ntfs/inode.c                   |    8 ++++++--
  fs/ntfs/inode.h                   |    4 ++++
  fs/ocfs2/file.c                   |   18 ------------------
  fs/omfs/file.c                    |   22 +++++++++++++++-------
  fs/proc/base.c                    |    7 -------
  fs/proc/generic.c                 |    9 +--------
  fs/proc/proc_sysctl.c             |    7 -------
  fs/reiserfs/file.c                |    3 +--
  fs/reiserfs/inode.c               |   15 +++++++++++----
  fs/reiserfs/reiserfs.h            |    1 +
  fs/sysv/file.c                    |    5 +++--
  fs/sysv/itree.c                   |   17 ++++++++++++-----
  fs/ufs/inode.c                    |   15 ++++++++++-----
  include/linux/fs.h                |    1 -
  include/linux/mm.h                |    1 -
  mm/truncate.c                     |   23 -----------------------
  39 files changed, 225 insertions(+), 189 deletions(-)

-- 
1.7.3.4
---

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 00/21 v5] drop vmtruncate
  2012-11-03  9:21 ` [PATCH 00/21 v4] " Marco Stornelli
@ 2012-12-15 10:43   ` Marco Stornelli
  0 siblings, 0 replies; 3+ messages in thread
From: Marco Stornelli @ 2012-12-15 10:43 UTC (permalink / raw)
  To: Linux FS Devel
  Cc: Al Viro, Linux Kernel, Christoph Hellwig, Evgeniy Dushistov,
	reiserfs-devel, Bob Copeland, ocfs2-devel, Tigran A. Aivazian,
	Mikulas Patocka, jfs-discussion, logfs, Petr Vandrovec,
	linux-nilfs, linux-ntfs-dev, linux-doc

Hi all,

I send again the vmtruncate patch series. No change from the latest version, only rebased on the latest
Linus's tree. I hope we can merge it for 3.8.

Marco

Changes:
v5: rebased after 3.7 release
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 Stornelli (21):
  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: drop vmtruncate
  hfsplus: drop vmtruncate
  logfs: drop vmtruncate
  minix: drop vmtruncate
  ncpfs: drop vmtruncate
  nilfs2: drop vmtruncate
  ntfs: drop vmtruncate
  vfs: drop vmtruncate
  mm: drop vmtruncate
  documentation: drop vmtruncate

 Documentation/filesystems/Locking |    6 ------
 Documentation/filesystems/porting |    2 +-
 Documentation/filesystems/vfs.txt |   11 -----------
 fs/adfs/inode.c                   |   15 ++++++++++-----
 fs/affs/file.c                    |   18 ++++++++++++------
 fs/affs/inode.c                   |    5 ++++-
 fs/bfs/file.c                     |   15 ++++++++++-----
 fs/hfs/inode.c                    |   26 ++++++++++++++++++--------
 fs/hfsplus/inode.c                |   27 ++++++++++++++++-----------
 fs/hpfs/file.c                    |   18 ++++++++++++------
 fs/hpfs/inode.c                   |    5 ++++-
 fs/jfs/file.c                     |    6 ++++--
 fs/jfs/inode.c                    |   20 ++++++++++++++------
 fs/libfs.c                        |    2 --
 fs/logfs/readwrite.c              |   10 ++++++++--
 fs/minix/file.c                   |    6 ++++--
 fs/minix/inode.c                  |   17 ++++++++++++-----
 fs/ncpfs/inode.c                  |    4 +---
 fs/nilfs2/file.c                  |    1 -
 fs/nilfs2/inode.c                 |   24 +++++++++++++++---------
 fs/nilfs2/nilfs.h                 |    1 +
 fs/nilfs2/recovery.c              |    3 ++-
 fs/ntfs/file.c                    |   16 +++++++++++++---
 fs/ntfs/inode.c                   |    8 ++++++--
 fs/ntfs/inode.h                   |    4 ++++
 fs/ocfs2/file.c                   |   18 ------------------
 fs/omfs/file.c                    |   22 +++++++++++++++-------
 fs/proc/base.c                    |    7 -------
 fs/proc/generic.c                 |    9 +--------
 fs/proc/proc_sysctl.c             |    7 -------
 fs/reiserfs/file.c                |    3 +--
 fs/reiserfs/inode.c               |   15 +++++++++++----
 fs/reiserfs/reiserfs.h            |    1 +
 fs/sysv/file.c                    |    5 +++--
 fs/sysv/itree.c                   |   17 ++++++++++++-----
 fs/ufs/inode.c                    |   15 ++++++++++-----
 include/linux/fs.h                |    1 -
 include/linux/mm.h                |    1 -
 mm/truncate.c                     |   23 -----------------------
 39 files changed, 225 insertions(+), 189 deletions(-)

-- 
1.7.3.4


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-12-15 10:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-20 12:14 [PATCH 00/21 v3] drop vmtruncate Marco Stornelli
2012-11-03  9:21 ` [PATCH 00/21 v4] " Marco Stornelli
2012-12-15 10:43   ` [PATCH 00/21 v5] " Marco Stornelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).