From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1162822AbdEXHlk (ORCPT ); Wed, 24 May 2017 03:41:40 -0400 Received: from prv3-mh.provo.novell.com ([137.65.250.26]:51340 "EHLO prv3-mh.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757664AbdEXHlj (ORCPT ); Wed, 24 May 2017 03:41:39 -0400 From: Gang He To: mfasheh@versity.com, jlbec@evilplan.org Cc: Gang He , linux-kernel@vger.kernel.org, ocfs2-devel@oss.oracle.com, akpm@linux-foundation.org Subject: [PATCH v3 0/4] ocfs2: use kobject for online file check Date: Wed, 24 May 2017 15:44:22 +0800 Message-Id: <1495611866-27360-1-git-send-email-ghe@suse.com> X-Mailer: git-send-email 1.8.5.6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use embedded kobject mechanism for online file check feature, this will avoid to use a global list to save/search per-device online file check related data. The changed code is based on Goldwyn Rodrigues's patches and ext4 fs code, there is not any new features added, except some very small fixes during this code refactoring. Second, the code change does not affect the underlying file check code. Thank Goldwyn very much. Compare with second version, add more comments in the patch descriptions, to make sure each modification is mentioned. Compare with first version, split the code change into four patches, make sure each patch will not bring ocfs2 kernel modules compiling errors. Gang He (4): ocfs2: move some definitions to header file ocfs2: fix some small problems ocfs2: add kobject for online file check ocfs2: add duplicative ino number check fs/ocfs2/filecheck.c | 357 ++++++++++++++++++++------------------------------- fs/ocfs2/filecheck.h | 29 ++++- fs/ocfs2/ocfs2.h | 8 ++ fs/ocfs2/super.c | 27 +++- 4 files changed, 194 insertions(+), 227 deletions(-) -- 1.8.5.6