mbox series

[v7,00/10] NTFS read-write driver GPL implementation by Paragon Software

Message ID 20200925155537.1030046-1-almaz.alexandrovich@paragon-software.com (mailing list archive)
Headers show
Series NTFS read-write driver GPL implementation by Paragon Software | expand

Message

Konstantin Komarov Sept. 25, 2020, 3:55 p.m. UTC
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

v7:
- Security Descriptors validity checks added (by Mark Harmstone)
- atomic_open() fixed for the compressed file creation with directio
  case
- remount support
- temporarily removed readahead usage
- 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/Makefile                         |    1 +
 fs/ntfs3/Kconfig                    |   23 +
 fs/ntfs3/Makefile                   |   11 +
 fs/ntfs3/attrib.c                   | 1316 +++++++
 fs/ntfs3/attrlist.c                 |  462 +++
 fs/ntfs3/bitfunc.c                  |  137 +
 fs/ntfs3/bitmap.c                   | 1508 ++++++++
 fs/ntfs3/debug.h                    |   60 +
 fs/ntfs3/dir.c                      |  607 ++++
 fs/ntfs3/file.c                     | 1201 ++++++
 fs/ntfs3/frecord.c                  | 2399 ++++++++++++
 fs/ntfs3/fslog.c                    | 5222 +++++++++++++++++++++++++++
 fs/ntfs3/fsntfs.c                   | 2320 ++++++++++++
 fs/ntfs3/index.c                    | 2639 ++++++++++++++
 fs/ntfs3/inode.c                    | 1975 ++++++++++
 fs/ntfs3/lznt.c                     |  452 +++
 fs/ntfs3/namei.c                    |  576 +++
 fs/ntfs3/ntfs.h                     | 1295 +++++++
 fs/ntfs3/ntfs_fs.h                  | 1002 +++++
 fs/ntfs3/record.c                   |  615 ++++
 fs/ntfs3/run.c                      | 1159 ++++++
 fs/ntfs3/super.c                    | 1485 ++++++++
 fs/ntfs3/upcase.c                   |   78 +
 fs/ntfs3/xattr.c                    | 1056 ++++++
 27 files changed, 27714 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

Comments

Konstantin Komarov Oct. 9, 2020, 2:57 p.m. UTC | #1
From: Joe Perches <joe@perches.com>
Sent: Friday, September 25, 2020 8:16 PM
> To: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>; linux-fsdevel@vger.kernel.org; Anton Altaparmakov
> <anton@tuxera.com>
> Cc: viro@zeniv.linux.org.uk; linux-kernel@vger.kernel.org; pali@kernel.org; dsterba@suse.cz; aaptel@suse.com;
> willy@infradead.org; rdunlap@infradead.org; mark@harmstone.com; nborisov@suse.com; linux-ntfs-dev <linux-ntfs-
> dev@lists.sourceforge.net>
> Subject: Re: [PATCH v7 00/10] NTFS read-write driver GPL implementation by Paragon Software
> 
> (adding cc's to Anton Altaparmakov and linux-ntfs-dev)
> 
> On Fri, 2020-09-25 at 18:55 +0300, Konstantin Komarov wrote:
> > This patch adds NTFS Read-Write driver to fs/ntfs3.
> 
> This code should eventually supplant the existing NTFS
> implementation right?
> 
> Unless there is some specific reason you have not done so,
> I believe you should cc the current NTFS maintainer and
> NTFS mailing list on all these patches in the future.
> 
> MAINTAINERS-NTFS FILESYSTEM
> MAINTAINERS-M:  Anton Altaparmakov <anton@tuxera.com>
> MAINTAINERS-L:  linux-ntfs-dev@lists.sourceforge.net
> 
> Link to the v7 patches:
> https://lore.kernel.org/lkml/20200925155537.1030046-1-almaz.alexandrovich@paragon-software.com/
> 

Hi Joe. Thanks a lot! Added both Anton and linux-ntfs-dev to the v8 cc list.
Hi Anton. Did you have a chance to look at NTFS3 code?

Thanks.