linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] writeback: sync quota after inodes writeback
@ 2010-10-08 15:00 Dmitry Monakhov
  2010-10-08 15:00 ` [PATCH 2/2] writeback: skip useless data integrity tricks for sync_filesystem Dmitry Monakhov
  2010-10-08 17:08 ` [PATCH 1/2] writeback: sync quota after inodes writeback Christoph Hellwig
  0 siblings, 2 replies; 6+ messages in thread
From: Dmitry Monakhov @ 2010-10-08 15:00 UTC (permalink / raw)
  To: jaxboe; +Cc: linux-fsdevel, linux-ext4, Dmitry Monakhov

inode writeback usually result in quota changes especially
on filesystems with delalloc. So quota_sync() before writeback
seems pointless. Let's do the job in a natural way.

Signed-off-by: Dmitry Monakhov <dmonakhov@gmail.com>
---
 fs/sync.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/fs/sync.c b/fs/sync.c
index ba76b96..b0e2c6c 100644
--- a/fs/sync.c
+++ b/fs/sync.c
@@ -36,14 +36,14 @@ static int __sync_filesystem(struct super_block *sb, int wait)
 	if (!sb->s_bdi || sb->s_bdi == &noop_backing_dev_info)
 		return 0;
 
-	if (sb->s_qcop && sb->s_qcop->quota_sync)
-		sb->s_qcop->quota_sync(sb, -1, wait);

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

end of thread, other threads:[~2010-10-20 15:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-08 15:00 [PATCH 1/2] writeback: sync quota after inodes writeback Dmitry Monakhov
2010-10-08 15:00 ` [PATCH 2/2] writeback: skip useless data integrity tricks for sync_filesystem Dmitry Monakhov
2010-10-08 17:09   ` Christoph Hellwig
2010-10-08 17:08 ` [PATCH 1/2] writeback: sync quota after inodes writeback Christoph Hellwig
2010-10-20 12:25   ` Jan Kara
2010-10-20 15:11     ` Christoph Hellwig

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).