Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1524514pxj; Fri, 4 Jun 2021 17:34:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5mFPATy7m9Qg6cgXoPAUTLXp5plg04DXMr0iWrS5m2V2hy8Zpb+4YpXWg0Tyz5QOCC/KZ X-Received: by 2002:a17:906:a890:: with SMTP id ha16mr6547049ejb.159.1622853299416; Fri, 04 Jun 2021 17:34:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622853299; cv=none; d=google.com; s=arc-20160816; b=YmzgNrdO+pOU5xpVnRSz7VrnRYfNXTGIK8icMFvm8XxbT+8nPnQfQHHn3P+Pc4pNb1 Ofs8m5Erlcx+fc+za598Yz1Bj/KZPKBzrTGgGJLkstwMsnpu1UhiY5JRnt5V2xTJLfif W59rfKRpHc8ixhuV42GHOI5SvEZZ8vz4LycrbCDX5tr+VenIkZmxrYTH6cJpWmTRCpU3 0k3fKm16cmmQejHx0kkTFt3SUS+ABl80MwaTPwoOQ3xIhK4Ym6jDxeI2Auu4FikOLAC5 q78kFrawduQjWh5Glvb+Kacnq5cVwbR59GxgvwEqtL6jN8KiMZ5RsGOi+3ZNDTYCHrnB xBUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ZYPvxC7Xj7nFfwiiNVhvdd0yi7cqLnsS9t1jefgt1UA=; b=T4iBS3ennvL2/w7ciwwCSnt22Z2+4ZN6UpFH5v17ajbyvQ6BBn/8RFumX78Ii3XapC kRnUy6s2B/TZi3pWVjTtbQRdKQj7bLCTC7202vrKQc+C5HZrdGMmvMPBrGyTOVOA6zLn NsNFJHybJ8YCNFVawBcYYEPPFIPQo2tPpiOkfNSf3bi7TjVTV8nsfYIpIYHcGUqmJINS MgnryCEmoDGd8IbsgnqQrQyvNU9iydxIsrpRrBmfDWL6JeQHnK21MTu4qeKLgBTWz7fJ N8SVjsZAFSUKTfbrRbR1dy6/UTn0brBAY7tBb/Ysuuj/b4jTlt1ptmTBp8BABrQD1uSo jL5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Drcs8VOd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j23si5998175edp.191.2021.06.04.17.34.36; Fri, 04 Jun 2021 17:34:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Drcs8VOd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230440AbhFEAeF (ORCPT + 99 others); Fri, 4 Jun 2021 20:34:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:48930 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230344AbhFEAeE (ORCPT ); Fri, 4 Jun 2021 20:34:04 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 110F3613D8; Sat, 5 Jun 2021 00:32:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622853137; bh=hnj4YdZSKapllVOA4ACyYPr0+WwJm/RSY5vJAduBcmo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Drcs8VOdy4l7ev9LFryG94KmJnmCwF3oLFuqzx163jFdm6nby5k1mhZx0lSSeFoek VpWGFGT8mN7lHDsN48La3zJP5Slpk3NzG/Thg1O9b0dewrN7uXxqUZ+NBWtn64OYbP M8m1TgSnHIa2Qd63IxaTuF8YrJLX7kNynQMQBWnDL+WCVJdC+eDsdl9aa6EkrR+nfa B/Jz+HZYq4WH61n8GutZVxEEjSO5o7UL2eUbB0lOvPkfxQltb+Y1tc0+LwUVmDr1Sv oSKchH4n3Z4/UbIBmqpQeZ2//u0hm6CBpEct1uHZFlhIxosKWnvp6cXPnxy/q/ztc1 dwIbjdOdfLBlw== From: Jaegeuk Kim To: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Cc: Jaegeuk Kim Subject: [PATCH 2/3] f2fs: add pin_file in feature list Date: Fri, 4 Jun 2021 17:32:09 -0700 Message-Id: <20210605003210.856458-2-jaegeuk@kernel.org> X-Mailer: git-send-email 2.32.0.rc1.229.g3e70b5a671-goog In-Reply-To: <20210605003210.856458-1-jaegeuk@kernel.org> References: <20210605003210.856458-1-jaegeuk@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds missing pin_file feature supported by kernel. Fixes: f5a53edcf01e ("f2fs: support aligned pinned file") Signed-off-by: Jaegeuk Kim --- fs/f2fs/sysfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/f2fs/sysfs.c b/fs/f2fs/sysfs.c index 4daa6aeb200b..e4d5090b7cb3 100644 --- a/fs/f2fs/sysfs.c +++ b/fs/f2fs/sysfs.c @@ -740,6 +740,7 @@ F2FS_RW_ATTR(F2FS_SBI, f2fs_sb_info, compr_written_block, compr_written_block); F2FS_RW_ATTR(F2FS_SBI, f2fs_sb_info, compr_saved_block, compr_saved_block); F2FS_RW_ATTR(F2FS_SBI, f2fs_sb_info, compr_new_inode, compr_new_inode); #endif +F2FS_FEATURE_RO_ATTR(pin_file); /* For ATGC */ F2FS_RW_ATTR(ATGC_INFO, atgc_management, atgc_candidate_ratio, candidate_ratio); @@ -853,6 +854,7 @@ static struct attribute *f2fs_feat_attrs[] = { #ifdef CONFIG_F2FS_FS_COMPRESSION ATTR_LIST(compression), #endif + ATTR_LIST(pin_file), NULL, }; ATTRIBUTE_GROUPS(f2fs_feat); -- 2.32.0.rc1.229.g3e70b5a671-goog