Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp604230pxb; Fri, 13 Aug 2021 02:08:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1PsEeDiD6Miap1gVEuzvoxz5M7os74axvCqVLvlKxFtcj/UsKKhzoLDqxH2cPmCksV5iR X-Received: by 2002:a17:907:2d0f:: with SMTP id gs15mr1440714ejc.23.1628845725089; Fri, 13 Aug 2021 02:08:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628845725; cv=none; d=google.com; s=arc-20160816; b=GHM4JJD5sZwtM17o1cwQUTAQxlieEBTQ7FkV//9v6VaF0lwQHVD3tA58fuIA7HE7I+ mFRrelK+fSlGF6zyuDDive8QyGFEFOikMtmvqF5P7L4H0USxhSq+bcQiuE2KNgsksHhj KEd1MWMgBpWTKYi/MURhvkLqG+wbw54u62S9IrAcleDZvlc6izS8dGRcBzRldRIcKDOK 2Uq5UhyasolJvvfYrLlZkvQgLE+wsSn9P/SyRAMnoq91SWVcD/dPJxBwJit3WiLKOB6R nC9ayAhLplfKQV9rELlePaq8FQEnsELWICr1vebKkWvplxClAsoKoSr6RbzySaTTNJhb qRdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=4IU1MAs15QhSOokA/mCAGpwR945tDiRgha6UsXNzqLU=; b=jxsSmqzZs3HdyGEgNVNPbrqDAaifBwa2qLbCUWG0HyNlydmyNx1ismkqWjwJFTvOLf krvPkqypGUW0z/h+VV/J1bfE3Hj9sjJD1N80swFihhDy2gE5EOAr4r/CTLy3EEBuRk9x UoZdFaloPvaYKLzma4tTMShxnnvdXjimghGAJW0dydkP04GER3Lf/nwtAJIpYYUTatXG +8QQ7HQNpaqymtSJ0YCSr8rDWmxe2ONJOLon4rA9h39v6JcURDN/3EEaKK1N6GnND8nx 2SuhgaWnl4Ues4CscouDyflczX2wpyy5oNuFpx6l9tJcanoaf4/+EeRmJrw/0r1KVwza 5fCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nr7o1wZs; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-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 w4si1141583edv.95.2021.08.13.02.08.19; Fri, 13 Aug 2021 02:08:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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=nr7o1wZs; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-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 S238739AbhHMJED (ORCPT + 99 others); Fri, 13 Aug 2021 05:04:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239924AbhHMJEB (ORCPT ); Fri, 13 Aug 2021 05:04:01 -0400 Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D499C0617AF; Fri, 13 Aug 2021 02:03:35 -0700 (PDT) Received: by mail-io1-xd2d.google.com with SMTP id q16so9959456ioj.0; Fri, 13 Aug 2021 02:03:35 -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=4IU1MAs15QhSOokA/mCAGpwR945tDiRgha6UsXNzqLU=; b=nr7o1wZsCIhIxvDXWivw8rxFiJBJmO5C6sudjJpZe/yyZiO8KioNVBGiQvxvmi9/G8 RLzIyWYocj/Ql6pldt5lgD+qTMFkR9ZpA5YdO6gvaibl8PzG02WF8L7scloMyCkxm7FP +kx1gvVPpHYWg7tDe/EHLcBvhJXA+x59VjP+uXkm19PLFT2cXxzv3vG1UZ7qKjem2sbR a9off+AWIZZc047VIpzLcDNaBltK1fticdUX6+IR1bcGgsL2BO/opdSWLwqeEKYkoyEg f2EaWWK1yk1GmuiFHqbuouQQ1WL5h6Na4XITT628VbBRCNOFUh65o0iKgdM5hGWb+n8d b3DQ== 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=4IU1MAs15QhSOokA/mCAGpwR945tDiRgha6UsXNzqLU=; b=H/VdscNnP3zBDl2/nBMk1k3rorrcM8Y8pvjykWn6RBcbJU7UnpgjhXgQclAuL9n1di bERFLynm+DCnrJXiUCayqs+ijcT2dgZKOmiblbqNZD+xRNYFgOwiW5uQ3ssurp1y6U2q 61Wt4468aIlVqq1qvAYxA+6tNvJlrpfdQej7jA41o0aoXVdP4w/TbN1xDVkcZnl9na4E 5xlwlDtV62L9ATt+qPl3rnPhI20yL3C9je49ng1+wMduwA83zUB/ioVsFE6QhH14aJOr Gn9OMmHyiDsFsQx29yCE5LATjR6sYEuMAcaDJz54ttaDNcxnKVJsynHZ83CFy14Y9nPh aJFQ== X-Gm-Message-State: AOAM533lvLNLp4qhkjfQlGpIVbGdcxn0Phxxn9AKfnDzxaOgACf1njmX mkDorpmJS4BL+tkOk9cPveww5nhkxwtx2U+yQO4= X-Received: by 2002:a6b:7f48:: with SMTP id m8mr1255731ioq.5.1628845414661; Fri, 13 Aug 2021 02:03:34 -0700 (PDT) MIME-Version: 1.0 References: <20210812214010.3197279-1-krisman@collabora.com> <20210812214010.3197279-18-krisman@collabora.com> In-Reply-To: From: Amir Goldstein Date: Fri, 13 Aug 2021 12:03:23 +0300 Message-ID: Subject: Re: [PATCH v6 17/21] fanotify: Report fid info for file related file system errors To: Gabriel Krisman Bertazi Cc: Jan Kara , Linux API , Ext4 , linux-fsdevel , Khazhismel Kumykov , David Howells , Dave Chinner , Theodore Tso , "Darrick J. Wong" , Matthew Bobrowski , kernel@collabora.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Fri, Aug 13, 2021 at 12:00 PM Amir Goldstein wrote: > > On Fri, Aug 13, 2021 at 12:41 AM Gabriel Krisman Bertazi > wrote: > > > > Plumb the pieces to add a FID report to error records. Since all error > > event memory must be pre-allocated, we estimate a file handle size and > > if it is insuficient, we report an invalid FID and increase the > > prediction for the next error slot allocation. This commit message is out dated. Thanks, Amir.