Re: [PATCH v2] nilfs2: avoid duplicate segment construction for fsync()

2014-12-01 Thread Ryusuke Konishi
Andreas, On Sun, 9 Nov 2014 17:00:12 +0100, Andreas Rohner wrote: This patch removes filemap_write_and_wait_range() from nilfs_sync_file(), because it triggers a data segment construction by calling nilfs_writepages() with WB_SYNC_ALL. A data segment construction does not remove the inode

Re: [PATCH v2] nilfs2: avoid duplicate segment construction for fsync()

2014-12-01 Thread Andreas Rohner
On 2014-12-01 18:13, Ryusuke Konishi wrote: Andreas, On Sun, 9 Nov 2014 17:00:12 +0100, Andreas Rohner wrote: This patch removes filemap_write_and_wait_range() from nilfs_sync_file(), because it triggers a data segment construction by calling nilfs_writepages() with WB_SYNC_ALL. A data

Re: [PATCH v2] nilfs2: avoid duplicate segment construction for fsync()

2014-11-10 Thread Ryusuke Konishi
On Sun, 9 Nov 2014 17:00:12 +0100, Andreas Rohner wrote: This patch removes filemap_write_and_wait_range() from nilfs_sync_file(), because it triggers a data segment construction by calling nilfs_writepages() with WB_SYNC_ALL. A data segment construction does not remove the inode from the