From patchwork Wed Nov 14 17:43:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amir Goldstein X-Patchwork-Id: 10682949 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 72D3613BB for ; Wed, 14 Nov 2018 17:43:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 664F128C18 for ; Wed, 14 Nov 2018 17:43:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5AC5128ABB; Wed, 14 Nov 2018 17:43:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E7B29206AF for ; Wed, 14 Nov 2018 17:43:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727816AbeKODsB (ORCPT ); Wed, 14 Nov 2018 22:48:01 -0500 Received: from mail-wr1-f50.google.com ([209.85.221.50]:36092 "EHLO mail-wr1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727576AbeKODsB (ORCPT ); Wed, 14 Nov 2018 22:48:01 -0500 Received: by mail-wr1-f50.google.com with SMTP id z13-v6so18260994wrs.3 for ; Wed, 14 Nov 2018 09:43:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=uPbDrz4P5tPSBYdf8Wd2Wiaf4HtTrOT8/+CbbyBVRJc=; b=OgREFLHZwoL2hA3xLh8vmWfNpdzg+N6gy8DNQ7Lp2lFeKnjCAfnJrhb5wvqoUpTMfJ P1tVhTooQw5/bMtAf5wg8A6ySyvq3HDgbceElIWHEwaOXVlJKHgpnhQ7ODhPO3xyxxat ZuFHGtC+sgDetYjXVEhDN7tgx4W3eGHu0JN0PzVqKCtDYZNPSeiURVc7Y+++augUohZL xY5AonZaVmrXrNhSiUsXC1mff0Qh5IgH5mhSgIa6UtmaQjXrmmEkfYnJTJMKJ2TgtjDr vW1xrgl447SXxXEWUdLch1p7TLbE4ygtEG2g5YD7+ehkcEtRltcwRhcASP1BBRaaoe3H ycCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=uPbDrz4P5tPSBYdf8Wd2Wiaf4HtTrOT8/+CbbyBVRJc=; b=Oj1KpzaZEd5eZz+Xqu5fgFs0j3c6tGPvUNCpCSHLbutWhMRprwPaxdd8X5u2WMJoQL LV6Nny8tCFm/+i675JcW4xY4SDT7nNpa2PNwhU4APDwrr8gU+Y8vhbxmhR88sg6Jw+8y tWLIBB3pPEwzhycuqCIa9dSzLVgEKf3Q5c9mPygsnfBOJBuY7gnlIFB0eNY6n4G/Ci30 WGSqHTgEGE1sjLMVn0wHFR5kNNQ7+QJWKUxLjD1T85eQQmGPXbcCs35zfg3yB/xnS2NB pPZ0jR6CXv78+7mocwWKIyvqMZzsyqExWTGmWqQFS2yrj7SOzpKH4lrtCKX8rwRpLD+C e79Q== X-Gm-Message-State: AGRZ1gKtNLVX0zhiPTaY2Iv9P5DG7l2BebgZLKHprwsC5D+3vV1vgpDR 0Ya3RQTlj7iKcGQT1VzvCkM= X-Google-Smtp-Source: AJdET5fq6+OEphApEeOEiPnL8pauuk1ZkjOvEAVnmJrOtBEk6XMZF22/nVaPPQs6i5ohZ6F66zs8cg== X-Received: by 2002:a5d:5607:: with SMTP id l7mr2762538wrv.25.1542217431822; Wed, 14 Nov 2018 09:43:51 -0800 (PST) Received: from localhost.localdomain ([37.46.46.74]) by smtp.gmail.com with ESMTPSA id d18-v6sm8587887wre.25.2018.11.14.09.43.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Nov 2018 09:43:51 -0800 (PST) From: Amir Goldstein To: Jan Kara Cc: Matthew Bobrowski , linux-fsdevel@vger.kernel.org Subject: [PATCH v2 0/5] fsnotify prep work for fanotify dentry events Date: Wed, 14 Nov 2018 19:43:39 +0200 Message-Id: <20181114174344.17530-1-amir73il@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Jan, Not much has changed in these cleanup patches since they were last posted two years ago [1]. Except they were posted as the 1st part of a 4 parts patch series and the 2nd and 4th part of that original series have already been merged to v4.20-rc1 (FAN_MARK_FILESYSTEM). This series does not change any logic and it passed the existing LTP inotify/fanotify tests. The remaining work (3rd part of original series) will be posted in two parts - adding FAN_REPORT_FID and adding support for the dentry events to fanotify. Thanks, Amir. [1] https://marc.info/?l=linux-fsdevel&m=148198446127338&w=2 [2] https://lkml.org/lkml/2016/12/20/312 Amir Goldstein (5): fsnotify: pass dentry instead of inode when available fsnotify: annotate filename events fsnotify: simplify API for filename events fsnotify: make MOVED_FROM a dentry event fsnotify: send event type FSNOTIFY_EVENT_DENTRY to super block mark arch/powerpc/platforms/cell/spufs/inode.c | 2 +- fs/btrfs/ioctl.c | 2 +- fs/debugfs/inode.c | 11 ++- fs/devpts/inode.c | 2 +- fs/namei.c | 28 ++++---- fs/notify/fsnotify.c | 17 +++-- fs/ocfs2/refcounttree.c | 2 +- fs/tracefs/inode.c | 4 +- include/linux/fsnotify.h | 81 +++++++++++++++-------- include/linux/fsnotify_backend.h | 3 +- net/sunrpc/rpc_pipe.c | 6 +- 11 files changed, 97 insertions(+), 61 deletions(-)