![]() > EXT4_RW_ATTR_SBI_UI(mb_stats, s_mb_stats) > EXT4_RW_ATTR_SBI_UI(mb_max_to_scan, s_mb_max_to_scan) > EXT4_RW_ATTR_SBI_UI(mb_min_to_scan, s_mb_min_to_scan) > -210,6 +212,8 static ssize_t journal_task_show(struct ext4_sb_info *sbi, char *buf) > ATTR_LIST(reserved_clusters), > ATTR_LIST(inode_readahead_blks), > ATTR_LIST(inode_goal), > +ĚTTR_LIST(max_dir_size), > +ĚTTR_LIST(max_dir_size_kb), > ATTR_LIST(mb_stats), > ATTR_LIST(mb_max_to_scan), > ATTR_LIST(mb_min_to_scan), > -350,6 +354,8 static ssize_t ext4_attr_store(struct kobject *kobj, > ret = kstrtoul(skip_spaces(buf), 0, &t) > if (ret) > return ret > + if (strcmp("max_dir_size", a->attr.name) = 0) > + t >= 10 > Signed-off-by: James Simmons > - > fs/ext4/sysfs.c | 6 ++++++ > 1 file changed, 6 insertions(+) > diff -git a/fs/ext4/sysfs.c b/fs/ext4/sysfs.c > index 1375815.3a71a16 100644 > - a/fs/ext4/sysfs.c > +++ b/fs/ext4/sysfs.c > -180,6 +180,8 static ssize_t journal_task_show(struct ext4_sb_info *sbi, char *buf) > EXT4_ATTR_OFFSET(inode_readahead_blks, 0644, inode_readahead, > ext4_sb_info, s_inode_readahead_blks) > EXT4_RW_ATTR_SBI_UI(inode_goal, s_inode_goal) > +EXT4_RW_ATTR_SBI_UI(max_dir_size, s_max_dir_size_kb) > +EXT4_RW_ATTR_SBI_UI(max_dir_size_kb, s_max_dir_size_kb) On Sun, Jul 21 2019, James Simmons wrote: ext4: export mb stream allocator variables ext4: use GFP_NOFS in ext4_inode_attach_jinode ext4: optimize ext4_journal_callback_add ext4: add warning for directory htree growth ext4: Add a proc interface for max_dir_size. List-Id: "For discussing Lustre software development."Ĭontent-Type: text/plain charset="us-ascii" Received: by (Postfix, from userid 2004) Received: from ( )īy (Postfix) with ESMTP id E598027F X-Original-To: from ( )īy (Postfix) with ESMTP id 6996121FD17 Received: from (localhost )īy (Postfix) with ESMTP id 14A5121FD41 (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits))īy mail.wl. (Postfix) with ESMTPS id 72B3A26E4A ![]() RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, X-Spam-Checker-Version: SpamAssassin 3.3.1 () on Received: by mail.wl. (Postfix, from userid 486) Received: from mail.wl. (localhost )īy mail.wl. (Postfix) with ESMTP id 93C2826E4A Received: from mail.wl. (īy (Postfix) with ESMTP id AB5001398
0 Comments
Leave a Reply. |