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

From: Ryusuke Konishi
Date: Sun Sep 14 2014 - 06:19:13 EST


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 written. The original cover letter can be seen at:

[1] http://marc.info/?l=linux-nilfs&m=141061909728506
"[PATCH v6 0/1] nilfs2: add missing blkdev_issue_flush() to
nilfs_sync_fs()"

Thanks,
Ryusuke Konishi
--
Andreas Rohner (1):
nilfs2: add missing blkdev_issue_flush() to nilfs_sync_fs()

fs/nilfs2/file.c | 8 +++-----
fs/nilfs2/ioctl.c | 8 +++-----
fs/nilfs2/segment.c | 3 +++
fs/nilfs2/super.c | 6 ++++++
fs/nilfs2/the_nilfs.h | 22 ++++++++++++++++++++++
5 files changed, 37 insertions(+), 10 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/