[PATCH] nilfs2: add missing blkdev_issue_flush() to nilfs_sync_fs()

2014-09-14 Thread Ryusuke Konishi
From: Andreas Rohner Under normal circumstances nilfs_sync_fs() writes out the super block, which causes a flush of the underlying block device. But this depends on the THE_NILFS_SB_DIRTY flag, which is only set if the pointer to the last segment crosses a segment boundary. So if only a small amo

[PATCH 0/1] nilfs2: fix device cache flush in nilfs_sync_fs()

2014-09-14 Thread Ryusuke Konishi
Hi Andrew, Please add the following patch to the queue for the next merge window. It ensures that nilfs_sync_fs() function sends a cache flush request to the underlying device when required. The current nilfs_sync_fs() has a defect that it can skip the flush if only a small amount of data is wri

Re: [PATCH v3] nilfs2: add a tracepoint for tracking stage transition of segment construction

2014-09-14 Thread Hitoshi Mitake
On Sun, Sep 14, 2014 at 1:09 PM, Ryusuke Konishi wrote: > On Sun, 14 Sep 2014 00:14:36 +0900, Mitake Hitoshi wrote: >> This patch adds a tracepoint for tracking stage transition of block >> collection in segment construction. With the tracepoint, we can >> analysis the behavior of segment construc