Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp567035ybt; Wed, 1 Jul 2020 05:14:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLyB/8646lyaAp2PemrNd7922oT329a5V0ESL0j+xSM5l85375nirivzhPkqtanPdsbGpp X-Received: by 2002:aa7:cb55:: with SMTP id w21mr21528820edt.380.1593605669579; Wed, 01 Jul 2020 05:14:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593605669; cv=none; d=google.com; s=arc-20160816; b=LoMe4uc2k/+3chpBSpVo6ZaDr00U0lIDhm8/sOPBGG/wJC2kvuS/P8c41RpoY/Vc0g 0BPTxQ6FY9+rCFYKuFNPjdv2bwTSC+xfThaeeoeHCLVDVkvkpWXEQdxVdRiEhIYn/PJG vvNZK4kz55w45FGAYqamevPk00Syx1zIBHsvpjuzs2xhIQMWp5RHWjXuhvvdqK3GyrMh DAxGJPqsJyC1gxwurbyNLOW/yIeBfCEkfELiAZDH/Ffklu/bhjZJSFEGkTf04y5Fual8 G6WInHhg9F68CL8nZJwPXyGaPkWgHwm5u0P72FEnozBgXt2ikFxii6WhVttoAGIBRCm6 Xnhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Tw287Wj0rT1y9xvMzyezmJaiA3ZqkKxDAyWTdh35zE4=; b=amCb29V4SevfiMeA/2Cn6OQT/2Pl7nVgVBNx1t2CVAHFEuPPAggjAx8g1Pqheh92cF pr5l3D5QBYxJehl6xSa8QFMqRQ4Clw/LSHHQtNTSk3++kpQFvG1oUX3nghit4yQxHGrW 9rEImAOZrd5hjBvb6hVN4xCMgcsPRy0vKVxZz2IpbT2u9tmB32QD/OQoolcOnwAqWfw/ 2VW8DsdUwAuQA4kdFaCJ/VOfnBdXLbgFmzamKVdGEqGlPJmpcc3KzNcQQ4ZtRJ1/uTKK 461p4SqR/JIKRSiIMcaoN3YG27/KBiIQP5CJhma6YHwipR/icjLj7wzf72ofY6eiaBzI Akuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Bf4KuVgW; 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 z14si4330830edl.500.2020.07.01.05.14.06; Wed, 01 Jul 2020 05:14:29 -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=Bf4KuVgW; 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 S1730522AbgGAMND (ORCPT + 99 others); Wed, 1 Jul 2020 08:13:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730271AbgGAMNC (ORCPT ); Wed, 1 Jul 2020 08:13:02 -0400 Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C122C061755 for ; Wed, 1 Jul 2020 05:13:02 -0700 (PDT) Received: by mail-lj1-x242.google.com with SMTP id z24so1729298ljn.8 for ; Wed, 01 Jul 2020 05:13:02 -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; bh=Tw287Wj0rT1y9xvMzyezmJaiA3ZqkKxDAyWTdh35zE4=; b=Bf4KuVgW2Z1nRKgLhIqnAuqFliXvxBoha2MFFMx7oO4y8XkA4sEdlo24lbzb8N6cs3 Fc58y165gRsxDj2Cw1MqvdgVEP2VXjf/I5UT7OQs1lKr1HoKmG5WJ0uFb1rwENQ2wTd6 KKUcQ0p7ZTjrkUyRkWKDGF6rqxsPL7xbmTjGaItHCKABOXEHck1bknQqKW1Dfdn6+mFh GfkNcOHgMx3yzTEMm3+pwp8Un+zUQBxFsImqJV7AxrfYdCL4EhB3IkSRyGptxlisqdSI AHGzIRLmFFK8BJfTZVhQaEMSRE4A5Ko6N4Gphjd7vw+Yt8O19vL5cTSJE+JRQcg9c4Ec 60TQ== 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; bh=Tw287Wj0rT1y9xvMzyezmJaiA3ZqkKxDAyWTdh35zE4=; b=jV+dk/kyPCbVdfMKEqJT4EW9UULbkPp2iUCfqsGfCkuR9oLF5eA1zH6OVzEXb5hoVg a4f9IayH1oi7IqkI7aVT5IiC85pFGkTrH2qiUnUhcdLz2tgiDu0jKcoZuOpO5ozzyPQl tgDT6ewSjxVH6VZUhcZvWdORarLbEWwwRSYtaUeYrKMjcuAV1WAPwMDJtGmtwB5jAFco VPBun7eWaOk5+g48ejy1W7HjFO2FUqCVttufGTCi2J/y5nXkpZxgeqxS/kDliy2KQ1mp +DtWlsw35TEerDrKOD7ZKHbTdxBF9WrR+vMG6T/ldjdTzVJvl2jq6HuzCU+iglb1hNLK UuyQ== X-Gm-Message-State: AOAM531CQHKSGAVAuOMkNWdk4piux7KHWWro5Xch0ibxXboNIgwtKAXp xTEgo//p1/K6uSEaDbP9/uB55SNWOn6IkvNIHz8= X-Received: by 2002:a2e:8e68:: with SMTP id t8mr6540812ljk.335.1593605580788; Wed, 01 Jul 2020 05:13:00 -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: <9d1afacc-6033-2bae-d55d-909d50f1904b@huawei.com> From: Daeho Jeong Date: Wed, 1 Jul 2020 21:12:49 +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" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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. 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.