From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932728AbbD0L4o (ORCPT ); Mon, 27 Apr 2015 07:56:44 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:43116 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932282AbbD0L4k (ORCPT ); Mon, 27 Apr 2015 07:56:40 -0400 X-AuditID: cbfec7f4-f79c56d0000012ee-b6-553e23f8c788 From: Beata Michalska To: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org Cc: jack@suse.cz, tytso@mit.edu, adilger.kernel@dilger.ca, hughd@google.com, lczerner@redhat.com, hch@infradead.org, linux-ext4@vger.kernel.org, linux-mm@kvack.org, kyungmin.park@samsung.com, kmpark@infradead.org Subject: [RFC v2 0/4] fs: Add generic file system event notifications Date: Mon, 27 Apr 2015 13:51:40 +0200 Message-id: <1430135504-24334-1-git-send-email-b.michalska@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrFLMWRmVeSWpSXmKPExsVy+t/xK7o/lO1CDRbvtrT4+qWDxeL0hEVM Fk8/9bFYzJ7ezGRx6/IqFouzTW/YLZY92Mxisfl7B5vFzHl32Cz27D3JYnF51xw2i3tr/rNa tPb8ZHfg9WjZXO6xYFOpx+YVWh6bPk1i92g6c5TZ4/2+q2wefVtWMXqcWXCE3ePzJrkAzigu m5TUnMyy1CJ9uwSujI8L/rMUHBeu6Oibz9jAeIC3i5GDQ0LAROJwK38XIyeQKSZx4d56ti5G Lg4hgaWMElv2TWWHcBqZJPZMn8sOUsUmoC/xasZKJhBbRCBG4uCuHhaQImaBG4wSMw6eYwRJ CAu4SnQ+3ssCYrMIqEpMmdEEZvMKuEvcOzCNGWKzgsScSTYTGLkXMDKsYhRNLU0uKE5KzzXU K07MLS7NS9dLzs/dxAgJwS87GBcfszrEKMDBqMTDa7DMNlSINbGsuDL3EKMEB7OSCO8BJbtQ Id6UxMqq1KL8+KLSnNTiQ4zSHCxK4rxzd70PERJITyxJzU5NLUgtgskycXBKNTCWPcoIL2N3 5/IP+6k7u/aUCYuX/cPKrJovbClcPz/M0F8eemCz5vJLCc7XFBpd2ydteKT9t/HBrFfCRxYs /vhyy7Mix8Xe0VweF9d9vM1YwN1yz/Wz5LT7tzzL1/vEbTfbfc6c7c5h839Fxxra94hesEzk FX6aL+x9s1z22n9NAWfeGuY5HuJKLMUZiYZazEXFiQBfqTUmPQIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, This series is a follow-up of the RFC patchset for generic filesystem events interface [1]. As there have been some rather significant changes to the synchronization method being used, more extensive testing (stress testing) has been performed (thus the delay). Changes from v1: - Improved synchronization: switched to RCU accompanied with ref counting mechanism - Limiting scope of supported event types along with default event codes - Slightly modified configuration (event types followed by arguments where required) - Updated documentation - Unified naming for netlink attributes - Updated netlink message format to include dev minor:major numbers despite the filesystem type - Switched to single cmd id for messages - Removed the per-config-entry ids --- [1] https://lkml.org/lkml/2015/4/15/46 --- Beata Michalska (4): fs: Add generic file system event notifications ext4: Add helper function to mark group as corrupted ext4: Add support for generic FS events shmem: Add support for generic FS events Documentation/filesystems/events.txt | 231 ++++++++++ fs/Makefile | 1 + fs/events/Makefile | 6 + fs/events/fs_event.c | 770 ++++++++++++++++++++++++++++++++++ fs/events/fs_event.h | 25 ++ fs/events/fs_event_netlink.c | 99 +++++ fs/ext4/balloc.c | 25 +- fs/ext4/ext4.h | 10 + fs/ext4/ialloc.c | 5 +- fs/ext4/inode.c | 2 +- fs/ext4/mballoc.c | 17 +- fs/ext4/resize.c | 1 + fs/ext4/super.c | 39 ++ fs/namespace.c | 1 + include/linux/fs.h | 6 +- include/linux/fs_event.h | 58 +++ include/uapi/linux/fs_event.h | 54 +++ include/uapi/linux/genetlink.h | 1 + mm/shmem.c | 33 +- net/netlink/genetlink.c | 7 +- 20 files changed, 1357 insertions(+), 34 deletions(-) create mode 100644 Documentation/filesystems/events.txt create mode 100644 fs/events/Makefile create mode 100644 fs/events/fs_event.c create mode 100644 fs/events/fs_event.h create mode 100644 fs/events/fs_event_netlink.c create mode 100644 include/linux/fs_event.h create mode 100644 include/uapi/linux/fs_event.h -- 1.7.9.5