Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1971696ybt; Thu, 2 Jul 2020 19:49:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxG9PC07MVpj6OgsxWwrcq64sPjjX6j4Pi25gFrbQDMfJmyE/4tGFHR8Tu2g6DS4Wl7XuGd X-Received: by 2002:a50:f149:: with SMTP id z9mr38850536edl.167.1593744572027; Thu, 02 Jul 2020 19:49:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593744572; cv=none; d=google.com; s=arc-20160816; b=aEaULRsHKCx6u7+HPeFSopo6YdoHqJhi1CVvnWS7+1aHvWQQeLk2pwHYg8dnnpXvxz CTROeVSp5FcOOZg7PH9pi3k3/t/yqux9Ms7irITmD7Y/GOnYq5iOUiXSlRUPF57dVWdM 4EqY8t7KFR0HlCg+87kf77iPPJJ6X5WsaH4X3PUfzKOizBsMSuLfRZM8ABHE40pF9ETk JJqWbGYKvqxw/d7fDi0/Jty8DUrFbzk+tR8oWeUAUNTAPj2ShqTeYeT8lF1PMuQ5cd2j Rx4WMS/LgpuEjT6uUvjTsxW6EpoRkL858CIK4JiCFQcLZiW6Uloz0oOYPO7oXAHBv2t8 m0xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Eal33Mv8b1H/h4IftAYSAXGyqqz8yFRIB607WgFe1P4=; b=JQE+0evQgBdzvTj4BBg6Uid2wtoLOkVhvySDvWqTe4uifp1wFe9zSsOcOKztj0kRWO fYikm0T/eCtn/fJQ99SkLCdqSIKkBM52Oqd43l3nF2LY3rdtx7Z546EYi+43ydNeWjbC smeY7sbsJaHNV8+bI9+FEQ9JQ7V5B6EXO5zHT3wtMsyxG2/5AeXlyU0Hc3WChyvuB69V h0UQGwLa/o5Tc7G9yCCT4N8k4jT0b9GviEQ84HlSC7axLmxJD3DbHD7DAJXtl3lAGlnr LcdAXe2op0qpE4oKq7hbVt0mzBglldR6yF4sd6lZCK+aVvvS+EUQI7Q7TZVasWk2XjhM XQtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pI+z1f36; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bd15si3457285edb.45.2020.07.02.19.49.09; Thu, 02 Jul 2020 19:49:32 -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=@gmail.com header.s=20161025 header.b=pI+z1f36; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726150AbgGCCq5 (ORCPT + 99 others); Thu, 2 Jul 2020 22:46:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726053AbgGCCq5 (ORCPT ); Thu, 2 Jul 2020 22:46:57 -0400 Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F32BC08C5C1 for ; Thu, 2 Jul 2020 19:46:56 -0700 (PDT) Received: by mail-lf1-x141.google.com with SMTP id g139so17501082lfd.10 for ; Thu, 02 Jul 2020 19:46:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Eal33Mv8b1H/h4IftAYSAXGyqqz8yFRIB607WgFe1P4=; b=pI+z1f36Cq7rcUpt/+uR6YAxQ0Rrrq5bCVA7x/F6qRq9FuoxiF7dVIdNmfNxG/NuK/ 7pO1GyYRHTYuMon4bTMfo08Um7Z1v5DdjHnV0+0kX/YQdqW1TgnDQuOUURedx8c6TJNL ZZGgOdc7wlHP4XflcFloSI0Emmpt/xJb9cSbVQ1o/MQ3RiTSC2EDYmBzUBuLWqIV+he+ xk9F+I1Ezz9/yl4AsXtVllKw31EOIyZB59IkmsGUlh+kYjklxk/vespI5KnTedpZxz8c 43qhZztO9kCK2yfwMeWDpTaDUaoQa1fu4XayteLrSAN4BOJ094xJaXD7LLWrOtTmT8Rn on5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Eal33Mv8b1H/h4IftAYSAXGyqqz8yFRIB607WgFe1P4=; b=H3BuNABWITIgHO26UuvUuu92SG4zgW8xv6sYRYrOYeoHX++HQaZIDNnGRd9Jrpj4Jf PGiFohGcP40J8yM5xUYFAp6kZSxCJ0a8yXnE3gNNRq5h2XuHfaBt1LfhV5S2GxXqFC6D BkTMy1b/MoRhP0kqlqJJbZmpekJ9Tg8FiESucDwfC3nwBrqj7lgMr2uaJJe5qWYNTuV2 QaJilpGY3hnPe8XIQYbZwBzqcmiEDNQIaDVATHdVvU6QNtbMPCtrCNlxUo99JrTD9MZC MAEHIOlfaddiGznfHu4HG/oOnmKW/1pLg2Ny6/oLggjHhEGAOYzeV8Y1a+VnYJej28mp CqPQ== X-Gm-Message-State: AOAM532OskmUd5cwLpZCJmDhggZpY+RWNoQsa/WhWlyBaVaypho2GjR3 7LNpmrmqdfHp6ctvkn26EMi8Eq7Jku/D8ZOuOOY= X-Received: by 2002:ac2:5e29:: with SMTP id o9mr19691281lfg.196.1593744413398; Thu, 02 Jul 2020 19:46:53 -0700 (PDT) MIME-Version: 1.0 References: <20200630005625.2405062-1-daeho43@gmail.com> <961072bb-4c8f-b01e-666d-1f5e35a8b76d@huawei.com> <9d1afacc-6033-2bae-d55d-909d50f1904b@huawei.com> In-Reply-To: From: Daeho Jeong Date: Fri, 3 Jul 2020 11:46:42 +0900 Message-ID: Subject: Re: [f2fs-dev] [PATCH] f2fs: add symbolic link to kobject in sysfs To: Chao Yu Cc: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com, Daeho Jeong Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Got it. Thanks~ 2020=EB=85=84 7=EC=9B=94 3=EC=9D=BC (=EA=B8=88) =EC=98=A4=EC=A0=84 11:02, C= hao Yu =EB=8B=98=EC=9D=B4 =EC=9E=91=EC=84=B1: > > On 2020/7/1 20:12, Daeho Jeong wrote: > >> On 2020/7/1 15:04, Daeho Jeong wrote: > >>> Actually, I want to keep the mount number remaining to the same > >>> number, even if it's re-mounted. > >> > >> Then once there is f2fs umounter, the order will be incorrect... > > > > Actually, we prepared this patch for a strictly controlled system like > > Android to easily access the sysfs node for a specific partition like > > userdata partition using a specific number. > > I'm not against Android defined interfaces, just be confused about the > behavior that does not fully documented (at least, we should add this > into f2fs doc, and specify this is android specified interface), somethin= g > like once one mount point was umounted, that sequential number @x in > 'mount_@x" could be reused by later newly mounted point, it breaks the > description: "in the order of mounting filesystem". > > > In this system, we don't worry about another unexpected f2fs umounter > > interfering in between unmounting and mounting a partition. > > > > When we are under the condition that we can keep track of how many > > times the userdata partition has been re-mounted, we might as well use > > the original partition name like "/sys/fs/f2fs/dm-9". > > This is for when we couldn't do that. > > . > >