Commit 800687bd authored by Anton Altaparmakov's avatar Anton Altaparmakov

NTFS: 2.1.17 - Fix bugs in mount time error code paths.

Signed-off-by: default avatarAnton Altaparmakov <aia21@cantab.net>
parent c51e2400
...@@ -30,7 +30,7 @@ fault-tolerance, encryption or journalling) and very limited, but safe, write ...@@ -30,7 +30,7 @@ fault-tolerance, encryption or journalling) and very limited, but safe, write
support. support.
For fault tolerance and raid support (i.e. volume and stripe sets), you can For fault tolerance and raid support (i.e. volume and stripe sets), you can
use the kernel's Software RAID / MD driver. See section "Using Software RAID use the kernel's Software RAID / MD driver. See section "Using Software RAID
with NTFS" for details. with NTFS" for details.
...@@ -64,14 +64,18 @@ Features ...@@ -64,14 +64,18 @@ Features
time find . -type f -exec md5sum "{}" \; time find . -type f -exec md5sum "{}" \;
run three times in sequence with each driver (after a reboot) on a 1.4GiB run three times in sequence with each driver (after a reboot) on a 1.4GiB
NTFS partition, showed the new driver to be 20% faster in total time elapsed NTFS partition, showed the new driver to be 20% faster in total time elapsed
(from 9:43 minutes on average down to 7:53). The time spent in user space (from 9:43 minutes on average down to 7:53). The time spent in user space
was unchanged but the time spent in the kernel was decreased by a factor of was unchanged but the time spent in the kernel was decreased by a factor of
2.5 (from 85 CPU seconds down to 33). 2.5 (from 85 CPU seconds down to 33).
- The driver does not support short file names in general. For backwards - The driver does not support short file names in general. For backwards
compatibility, we implement access to files using their short file names if compatibility, we implement access to files using their short file names if
they exist. The driver will not create short file names however, and a rename they exist. The driver will not create short file names however, and a
will discard any existing short file name. rename will discard any existing short file name.
- The new driver supports exporting of mounted NTFS volumes via NFS. - The new driver supports exporting of mounted NTFS volumes via NFS.
- The new driver supports async io (aio).
- The new driver supports fsync(2), fdatasync(2), and msync(2).
- The new driver supports readv(2) and writev(2).
- The new driver supports access time updates (including mtime and ctime).
Supported mount options Supported mount options
...@@ -273,6 +277,8 @@ ChangeLog ...@@ -273,6 +277,8 @@ ChangeLog
Note, a technical ChangeLog aimed at kernel hackers is in fs/ntfs/ChangeLog. Note, a technical ChangeLog aimed at kernel hackers is in fs/ntfs/ChangeLog.
2.1.17:
- Fix bugs in mount time error code paths.
2.1.16: 2.1.16:
- Implement access time updates (including mtime and ctime). - Implement access time updates (including mtime and ctime).
- Implement fsync(2), fdatasync(2), and msync(2) system calls. - Implement fsync(2), fdatasync(2), and msync(2) system calls.
......
...@@ -21,7 +21,7 @@ ToDo/Notes: ...@@ -21,7 +21,7 @@ ToDo/Notes:
- Enable the code for setting the NT4 compatibility flag when we start - Enable the code for setting the NT4 compatibility flag when we start
making NTFS 1.2 specific modifications. making NTFS 1.2 specific modifications.
2.1.17 - WIP. 2.1.17 - Fix bugs in mount time error code paths and other updates.
- Implement bitmap modification code (fs/ntfs/bitmap.[hc]). This - Implement bitmap modification code (fs/ntfs/bitmap.[hc]). This
includes functions to set/clear a single bit or a run of bits. includes functions to set/clear a single bit or a run of bits.
......
...@@ -6,7 +6,7 @@ ntfs-objs := aops.o attrib.o collate.o compress.o debug.o dir.o file.o \ ...@@ -6,7 +6,7 @@ ntfs-objs := aops.o attrib.o collate.o compress.o debug.o dir.o file.o \
index.o inode.o mft.o mst.o namei.o super.o sysctl.o unistr.o \ index.o inode.o mft.o mst.o namei.o super.o sysctl.o unistr.o \
upcase.o upcase.o
EXTRA_CFLAGS = -DNTFS_VERSION=\"2.1.17-WIP\" EXTRA_CFLAGS = -DNTFS_VERSION=\"2.1.17\"
ifeq ($(CONFIG_NTFS_DEBUG),y) ifeq ($(CONFIG_NTFS_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG EXTRA_CFLAGS += -DDEBUG
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment