Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752298AbdFVOXh (ORCPT ); Thu, 22 Jun 2017 10:23:37 -0400 Received: from mx2.suse.de ([195.135.220.15]:35313 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751149AbdFVOXd (ORCPT ); Thu, 22 Jun 2017 10:23:33 -0400 From: Nikolay Borisov To: tj@kernel.org Cc: jbacik@fb.com, jack@suse.cz, jeffm@suse.com, chandan@linux.vnet.ibm.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-btrfs@vger.kernel.org, axboe@kernel.dk, Nikolay Borisov Subject: [RFC PATCH 0/4] Support for metadata specific accounting Date: Thu, 22 Jun 2017 17:23:20 +0300 Message-Id: <1498141404-18807-1-git-send-email-nborisov@suse.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2385 Lines: 59 Hello, This series is a report of Josef's original posting [1]. I've included fine-grained changelog in each patch with my changes. Basically, I've forward ported it to 4.12-rc6 and tried incorporating the feedback which was given to every individual patch (I've included link with that information in each individual patch). The main rationale of pushing this is to enable btrfs' subpage-blocksizes patches to eventually be merged. This patchset depends on patches (in listed order) which have already been submitted [2] [3] [4]. But overall they don't hamper review. [1] https://www.spinics.net/lists/linux-btrfs/msg59976.html [2] https://patchwork.kernel.org/patch/9800129/ [3] https://patchwork.kernel.org/patch/9800985/ [4] https://patchwork.kernel.org/patch/9799735/ Josef Bacik (4): remove mapping from balance_dirty_pages*() writeback: convert WB_WRITTEN/WB_DIRITED counters to bytes writeback: add counters for metadata usage writeback: introduce super_operations->write_metadata drivers/base/node.c | 8 ++ drivers/mtd/devices/block2mtd.c | 12 ++- fs/btrfs/disk-io.c | 6 +- fs/btrfs/file.c | 3 +- fs/btrfs/ioctl.c | 3 +- fs/btrfs/relocation.c | 3 +- fs/buffer.c | 3 +- fs/fs-writeback.c | 74 +++++++++++++-- fs/fuse/file.c | 4 +- fs/iomap.c | 6 +- fs/ntfs/attrib.c | 10 +- fs/ntfs/file.c | 4 +- fs/proc/meminfo.c | 6 ++ fs/super.c | 7 ++ include/linux/backing-dev-defs.h | 8 +- include/linux/backing-dev.h | 51 +++++++++-- include/linux/fs.h | 4 + include/linux/mm.h | 9 ++ include/linux/mmzone.h | 3 + include/linux/writeback.h | 3 +- include/trace/events/writeback.h | 13 ++- mm/backing-dev.c | 15 ++- mm/filemap.c | 4 +- mm/memory.c | 5 +- mm/page-writeback.c | 192 ++++++++++++++++++++++++++++++++------- mm/page_alloc.c | 21 ++++- mm/util.c | 2 + mm/vmscan.c | 19 +++- mm/vmstat.c | 3 + 29 files changed, 418 insertions(+), 83 deletions(-) -- 2.7.4