Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:40161 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753938AbcAVVBw (ORCPT ); Fri, 22 Jan 2016 16:01:52 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 33160120493 for ; Fri, 22 Jan 2016 21:01:52 +0000 (UTC) Received: from bfoster.bfoster (dhcp-41-215.bos.redhat.com [10.18.41.215]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u0ML1pQt017368 for ; Fri, 22 Jan 2016 16:01:52 -0500 From: Brian Foster To: linux-fsdevel@vger.kernel.org Subject: [PATCH v7 0/2] improve sync efficiency with sb inode wb list Date: Fri, 22 Jan 2016 16:01:48 -0500 Message-Id: <1453496510-32485-1-git-send-email-bfoster@redhat.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hi all, No code changes in this version... I've just updated the commit log description for patch 1 as requested by Jan and added the associated reviewed-by tags. Thanks. Brian v7: - Updated patch 1/2 commit log description to reference performance impact. v6: http://marc.info/?l=linux-fsdevel&m=145322635828644&w=2 - Use rcu locking instead of s_inode_list_lock spinlock in wait_sb_inodes(). - Refactor wait_sb_inodes() to keep inode on wb list. - Drop remaining, unnecessary lazy list removal bits and relocate inode list check to clear_inode(). - Fix up some comments, etc. v5: http://marc.info/?l=linux-fsdevel&m=145262374402798&w=2 - Converted from per-bdi list to per-sb list. Also marked as RFC and dropped testing/review tags. - Updated to use new irq-safe lock for wb list. - Dropped lazy list removal. Inodes are removed when the mapping is cleared of the writeback tag. - Tweaked wait_sb_inodes() to remove deferred iput(), other cleanups. - Added wb list tracepoint patch. v4: http://marc.info/?l=linux-fsdevel&m=143511628828000&w=2 Brian Foster (1): wb: inode writeback list tracking tracepoints Dave Chinner (1): sb: add a new writeback list for sync fs/fs-writeback.c | 111 ++++++++++++++++++++++++++++++--------- fs/inode.c | 2 + fs/super.c | 2 + include/linux/fs.h | 4 ++ include/linux/writeback.h | 3 ++ include/trace/events/writeback.h | 22 ++++++-- mm/page-writeback.c | 18 +++++++ 7 files changed, 133 insertions(+), 29 deletions(-) -- 2.4.3