From patchwork Fri Sep 18 16:21:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konstantin Komarov X-Patchwork-Id: 11785403 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D7E4992C for ; Fri, 18 Sep 2020 16:31:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B71F921582 for ; Fri, 18 Sep 2020 16:31:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=paragon-software.com header.i=@paragon-software.com header.b="DdlPzKD6" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726623AbgIRQbC (ORCPT ); Fri, 18 Sep 2020 12:31:02 -0400 Received: from relaydlg-01.paragon-software.com ([81.5.88.159]:53561 "EHLO relaydlg-01.paragon-software.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726370AbgIRQbB (ORCPT ); Fri, 18 Sep 2020 12:31:01 -0400 Received: from dlg2.mail.paragon-software.com (vdlg-exch-02.paragon-software.com [172.30.1.105]) by relaydlg-01.paragon-software.com (Postfix) with ESMTPS id 334B382192; Fri, 18 Sep 2020 19:24:10 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1600446250; bh=KTo6qcfWf2FpfyVioS35OK2q7XzQo532xJhM+9428NU=; h=From:To:CC:Subject:Date; b=DdlPzKD6K9maqMW7Bm0mNecEuT8w+0oaNDBILeq+EX0zgbfo4bheFNLBl9tOQGXFP zbOZajuJQph8O2krmB4Mmx75emKHIxgJuGRyOujm2hMO8gtAx3rlvkym8/9V02gt9c vAN0T59tF1pKCyzOJzFPMKqyI+pFe1MRqSx9c3H8= Received: from fsd-lkpg.ufsd.paragon-software.com (172.30.114.105) by vdlg-exch-02.paragon-software.com (172.30.1.105) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1847.3; Fri, 18 Sep 2020 19:24:09 +0300 From: Konstantin Komarov To: CC: , , , , , , , , , , Konstantin Komarov Subject: [PATCH v6 00/10] NTFS read-write driver GPL implementation by Paragon Software Date: Fri, 18 Sep 2020 19:21:54 +0300 Message-ID: <20200918162204.3706029-1-almaz.alexandrovich@paragon-software.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 X-Originating-IP: [172.30.114.105] X-ClientProxiedBy: vdlg-exch-02.paragon-software.com (172.30.1.105) To vdlg-exch-02.paragon-software.com (172.30.1.105) Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org This patch adds NTFS Read-Write driver to fs/ntfs3. Having decades of expertise in commercial file systems development and huge test coverage, we at Paragon Software GmbH want to make our contribution to the Open Source Community by providing implementation of NTFS Read-Write driver for the Linux Kernel. This is fully functional NTFS Read-Write driver. Current version works with NTFS(including v3.1) and normal/compressed/sparse files and supports journal replaying. We plan to support this version after the codebase once merged, and add new features and fix bugs. For example, full journaling support over JBD will be added in later updates. v2: - patch splitted to chunks (file-wise) - build issues fixed - sparse and checkpatch.pl errors fixed - NULL pointer dereference on mkfs.ntfs-formatted volume mount fixed - cosmetics + code cleanup v3: - added acl, noatime, no_acs_rules, prealloc mount options - added fiemap support - fixed encodings support - removed typedefs - adapted Kernel-way logging mechanisms - fixed typos and corner-case issues v4: - atomic_open() refactored - code style updated - bugfixes v5: - nls/nls_alt mount options added - Unicode conversion fixes - Improved very fragmented files operations - logging cosmetics v6: - Security Descriptors processing changed added system.ntfs_security xattr to set SD - atomic_open() optimized - cosmetics Konstantin Komarov (10): fs/ntfs3: Add headers and misc files fs/ntfs3: Add initialization of super block fs/ntfs3: Add bitmap fs/ntfs3: Add file operations and implementation fs/ntfs3: Add attrib operations fs/ntfs3: Add compression fs/ntfs3: Add NTFS journal fs/ntfs3: Add Kconfig, Makefile and doc fs/ntfs3: Add NTFS3 in fs/Kconfig and fs/Makefile fs/ntfs3: Add MAINTAINERS Documentation/filesystems/ntfs3.rst | 107 + MAINTAINERS | 7 + fs/Kconfig | 1 + fs/ntfs3/Kconfig | 23 + fs/ntfs3/Makefile | 11 + fs/ntfs3/attrib.c | 1312 +++++++ fs/ntfs3/attrlist.c | 462 +++ fs/ntfs3/bitfunc.c | 137 + fs/ntfs3/bitmap.c | 1520 ++++++++ fs/ntfs3/debug.h | 59 + fs/ntfs3/dir.c | 607 ++++ fs/ntfs3/file.c | 1217 +++++++ fs/ntfs3/frecord.c | 2388 ++++++++++++ fs/ntfs3/fslog.c | 5222 +++++++++++++++++++++++++++ fs/ntfs3/fsntfs.c | 2201 +++++++++++ fs/ntfs3/index.c | 2639 ++++++++++++++ fs/ntfs3/inode.c | 1998 ++++++++++ fs/ntfs3/lznt.c | 452 +++ fs/ntfs3/namei.c | 577 +++ fs/ntfs3/ntfs.h | 1256 +++++++ fs/ntfs3/ntfs_fs.h | 1000 +++++ fs/ntfs3/record.c | 612 ++++ fs/ntfs3/run.c | 1156 ++++++ fs/ntfs3/super.c | 1430 ++++++++ fs/ntfs3/upcase.c | 78 + fs/ntfs3/xattr.c | 1041 ++++++ 26 files changed, 27513 insertions(+) create mode 100644 Documentation/filesystems/ntfs3.rst create mode 100644 fs/ntfs3/Kconfig create mode 100644 fs/ntfs3/Makefile create mode 100644 fs/ntfs3/attrib.c create mode 100644 fs/ntfs3/attrlist.c create mode 100644 fs/ntfs3/bitfunc.c create mode 100644 fs/ntfs3/bitmap.c create mode 100644 fs/ntfs3/debug.h create mode 100644 fs/ntfs3/dir.c create mode 100644 fs/ntfs3/file.c create mode 100644 fs/ntfs3/frecord.c create mode 100644 fs/ntfs3/fslog.c create mode 100644 fs/ntfs3/fsntfs.c create mode 100644 fs/ntfs3/index.c create mode 100644 fs/ntfs3/inode.c create mode 100644 fs/ntfs3/lznt.c create mode 100644 fs/ntfs3/namei.c create mode 100644 fs/ntfs3/ntfs.h create mode 100644 fs/ntfs3/ntfs_fs.h create mode 100644 fs/ntfs3/record.c create mode 100644 fs/ntfs3/run.c create mode 100644 fs/ntfs3/super.c create mode 100644 fs/ntfs3/upcase.c create mode 100644 fs/ntfs3/xattr.c