diff options
author | Anton Altaparmakov <aia21@cantab.net> | 2005-10-04 10:39:02 -0400 |
---|---|---|
committer | Anton Altaparmakov <aia21@cantab.net> | 2005-10-04 10:39:02 -0400 |
commit | dd072330d1a60be11a5c284fa1e645350750a4fc (patch) | |
tree | d0282b4667e3fcedc893802bd54c90c9e12b2dc7 /fs/ntfs/ChangeLog | |
parent | 2d86829b846d1447a6ab5af4060fc9f301521317 (diff) |
NTFS: Implement fs/ntfs/inode.[hc]::ntfs_truncate(). It only supports
uncompressed and unencrypted files.
Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
Diffstat (limited to 'fs/ntfs/ChangeLog')
-rw-r--r-- | fs/ntfs/ChangeLog | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/fs/ntfs/ChangeLog b/fs/ntfs/ChangeLog index 6c5bdfbb7bbf..70ad4be7a7fe 100644 --- a/fs/ntfs/ChangeLog +++ b/fs/ntfs/ChangeLog | |||
@@ -3,16 +3,14 @@ ToDo/Notes: | |||
3 | - In between ntfs_prepare/commit_write, need exclusion between | 3 | - In between ntfs_prepare/commit_write, need exclusion between |
4 | simultaneous file extensions. This is given to us by holding i_sem | 4 | simultaneous file extensions. This is given to us by holding i_sem |
5 | on the inode. The only places in the kernel when a file is resized | 5 | on the inode. The only places in the kernel when a file is resized |
6 | are prepare/commit write and truncate for both of which i_sem is | 6 | are prepare/commit write and ntfs_truncate() for both of which i_sem |
7 | held. Just have to be careful in readpage/writepage and all other | 7 | is held. Just have to be careful in read-/writepage and other helpers |
8 | helpers not running under i_sem that we play nice... | 8 | not running under i_sem that we play nice... Also need to be careful |
9 | Also need to be careful with initialized_size extention in | 9 | with initialized_size extention in ntfs_prepare_write and writepage. |
10 | ntfs_prepare_write. Basically, just be _very_ careful in this code... | 10 | UPDATE: The only things that need to be checked are |
11 | UPDATE: The only things that need to be checked are read/writepage | 11 | prepare/commit_write as well as the compressed write and the other |
12 | which do not hold i_sem. Note writepage cannot change i_size but it | 12 | attribute resize/write cases like index attributes, etc. For now |
13 | needs to cope with a concurrent i_size change, just like readpage. | 13 | none of these are implemented so are safe. |
14 | Also both need to cope with concurrent changes to the other sizes, | ||
15 | i.e. initialized/allocated/compressed size, as well. | ||
16 | - Implement mft.c::sync_mft_mirror_umount(). We currently will just | 14 | - Implement mft.c::sync_mft_mirror_umount(). We currently will just |
17 | leave the volume dirty on umount if the final iput(vol->mft_ino) | 15 | leave the volume dirty on umount if the final iput(vol->mft_ino) |
18 | causes a write of any mirrored mft records due to the mft mirror | 16 | causes a write of any mirrored mft records due to the mft mirror |
@@ -50,6 +48,8 @@ ToDo/Notes: | |||
50 | - Add fs/ntfs/attrib.[hc]::ntfs_attr_extend_allocation(), a function to | 48 | - Add fs/ntfs/attrib.[hc]::ntfs_attr_extend_allocation(), a function to |
51 | extend the allocation of an attributes. Optionally, the data size, | 49 | extend the allocation of an attributes. Optionally, the data size, |
52 | but not the initialized size can be extended, too. | 50 | but not the initialized size can be extended, too. |
51 | - Implement fs/ntfs/inode.[hc]::ntfs_truncate(). It only supports | ||
52 | uncompressed and unencrypted files. | ||
53 | 53 | ||
54 | 2.1.24 - Lots of bug fixes and support more clean journal states. | 54 | 2.1.24 - Lots of bug fixes and support more clean journal states. |
55 | 55 | ||