Commit Graph

180 Commits (cdf4fd5469b4f95d1f77fa5668ece7e5e9a7791d)

Author SHA1 Message Date
szaka 23dfee4366 ntfs_delete(): factor out ntfs_index_remove() 2008-02-02 12:15:31 +00:00
szaka a1402b3c3e new: ntfs-3g exit() value is set according to the type of mount error (e.g.
not ntfs, corrupted, access denied, hibernated, unclean journal, etc)
2007-12-15 09:17:17 +00:00
szaka 67997a4d88 New: built-in FUSE support by using a 50% stripped down, internal
FUSE library which linked statically into libntfs-3g. Linux
     uses this one by default.
New: the --with-fuse=external configure option makes ntfs-3g to be
     compiled with an external FUSE library. For non-Linux operating
     systems this is the default and the only option currently.
New: rewritten, backwards compatible build system.
New: README file is installed as documentation.
New: the --enable-ldscript configure option uses ldscript instead of
     .so symlink
New: the --disable-mtab configure option disables and ignores the
     usage of /etc/mtab
New: added libntfs-3g.pc.in pkg-config and libntfs-3g.script.so.in
     ldconfig files
Change: use 'make install-strip' instead of 'make strip'
(Alon Bar-Lev, Miklos Szeredi, Szabolcs Szakacsits)
2007-12-06 20:44:10 +00:00
szaka 6523139d60 fix: ntfs_inode_sync_file_name() don't close root dir many times in error paths 2007-11-19 00:10:09 +00:00
szaka 4ab5ed8a49 fix: successful file/directory removal may reported "Input/Output error" 2007-11-18 22:37:04 +00:00
szaka 008cac84fb atime update works (Yura Pakhuchiy, Szabolcs Szakacsits) 2007-11-18 14:08:44 +00:00
szaka 78845d0898 ntfs_readdir(): fix reading dirs with over 600,000 files (GeorgeK, Szaka) 2007-11-15 07:35:19 +00:00
szaka d4b91d350c posix file time updates (Yura Pakhuchiy, Szabolcs Szakacsits) 2007-11-15 07:33:40 +00:00
szaka ac25bd2295 workaround gcc 4.[01] crash (bsm, Loris Boillet, Kano, Szaka) 2007-11-03 23:19:18 +00:00
szaka 061c6dd9d8 NAttrSetFlag(): don't log bogus errors 2007-10-28 11:13:00 +00:00
szaka b032c0e68b fix free space calculation for >1 TB volumes 2007-10-27 20:38:21 +00:00
szaka 6be9b754b6 factor out ntfs_attr_get_free_bits() 2007-10-27 20:10:34 +00:00
szaka 4ac2b247cc ntfs_inode_attach_all_extents(): fix big-endianness (rsync may failed) 2007-10-26 00:46:59 +00:00
szaka f24a38f0d6 non-inline ntfs_fuse_is_named_data_stream & NAttr* functions: 500+ bytes saved 2007-10-25 22:22:24 +00:00
szaka 0c06669db6 struct ntfs_logging: workaround for broken gcc format attribute handling 2007-10-25 20:09:29 +00:00
szaka e338f95879 ntfs_file_record_read(): logging cleanup 2007-10-25 20:03:10 +00:00
szaka c48091cf9d ntfs_ir_truncate(): log only the real errors 2007-10-25 18:57:50 +00:00
szaka 11dbdf51be ntfs_security_hash(): big-endian fix (Erik Larsson) 2007-10-22 18:50:01 +00:00
szaka 42444cdd94 fix 64-bitness printf format string compiler warnings (Jean-Pierre Andre) 2007-10-10 20:45:19 +00:00
szaka 4e85b2465d fix 64-bitness printf format string compiler warnings (Jean-Pierre Andre) 2007-10-10 20:12:38 +00:00
szaka ff5d2522cc remove bogus format attribute which caused some gcc to crash 2007-10-10 19:19:57 +00:00
szaka 925c1cff30 fix warnings 2007-10-08 22:02:38 +00:00
szaka d4b4b41191 fix: unwritten sparse file regions could get corrupted if the end of a
write wasn't aligned to cluster boundary.
2007-10-03 21:09:30 +00:00
szaka 2caeb1b4e4 max_empty_bit_range(): 30-50% speed up (David Fox) 2007-10-03 21:04:53 +00:00
szaka f557e5f6ba optimization: find(1) is 20-200% faster for disk based and 300-600% faster
for memory cache based directory traversals
2007-09-26 20:40:18 +00:00
szaka ffa355c0f8 statfs() and free inode calculation is O(1) (David Fox, Szabolcs Szakacsits) 2007-09-26 19:32:26 +00:00
szaka 8796b5ee89 ntfs_volume_check_hiberfile(): remove unused variable 2007-09-26 19:20:10 +00:00
szaka 64f9f0dc1a ntfs_volume_check_hiberfile: relaxed too strict check: if the hiberfil.sys
header has garbage then the volume is not hibernated
2007-09-12 21:11:12 +00:00
szaka a97c661efe statfs optimization: O(1) free cluster calculation (David Fox, Szabolcs Szakacsits) 2007-09-12 20:51:06 +00:00
szaka a4277b3d0f ntfs_attr_pwrite: write cluster size blocks if it's possible when expanding
attributes. This will cause the kernel not to seek and read disk blocks for
filling the end of the buffer which increases write speed at least by 2-11
fold typically. (David Fox, Szabolcs Szakacsits)
2007-09-09 21:39:37 +00:00
szaka d70399e3c4 Scatter objects more far from each other to reduce disk fragmentation.
This greatly helps multi GB size file write performance, especially after
writing tens of thousands smaller files.
2007-09-09 21:26:37 +00:00
szaka c9172f66cf add ntfs_security_hash(): hash of a security descriptor (Anton Altaparmakov) 2007-09-02 12:38:29 +00:00
szaka 19a3585d23 ntfs_volume_startup: cleanup 2007-08-25 21:20:28 +00:00
szaka 718160d167 fix compilation with glibc 2.7 (Tom "spot" Callaway) 2007-08-25 20:27:02 +00:00
szaka 965dd72bb3 Add --disable-library option: don't install libntfs-3g but link into ntfs-3g.
Binary size is 10-15% down, performance is 2-5% up (Bernhard Kaindl)
2007-08-23 22:32:25 +00:00
szaka d2fab4e71f fix: utimes() shouldn't update the parent dir mtime (Wayne Sherman, Szaka) 2007-08-10 15:01:21 +00:00
szaka a7e4d503e2 fix: rename may updated mtime for some files/dirs (Wayne Sherman, Szaka) 2007-08-09 14:11:54 +00:00
szaka 3b0d3efe40 fix ntfs_readdir(): return with error if filldir() fails 2007-08-08 16:15:15 +00:00
szaka 817e052b80 ntfs_mft_bitmap_find_free_rec: log errno 2007-07-21 22:20:26 +00:00
szaka 75649971f9 ntfs_mft_bitmap_find_free_rec: logging cleanup 2007-07-21 22:18:49 +00:00
szaka 8636d42841 ntfs_mft_records_read, ntfs_file_record_read: log all errors 2007-07-20 22:42:19 +00:00
szaka 58e31d44eb ntfs_mft_bitmap_extend_allocation: remove redundant cluster allocation 2007-07-20 22:02:50 +00:00
szaka 6f083fc36f ntfs_mft_bitmap_extend_allocation: rename ret to err to match similar function 2007-07-20 21:52:07 +00:00
szaka ac23ed59c5 add ntfs_inode_base() helper 2007-07-20 21:43:39 +00:00
szaka 2cc87f0c78 ntfs_extent_inode_open: log all errors 2007-07-20 21:26:24 +00:00
szaka 84be568f75 ntfs_attr_pread: log all errors 2007-07-20 21:16:34 +00:00
szaka b5973632e9 ntfs_attr_pwrite, ntfs_attr_mst_pwrite: log errors 2007-07-18 22:44:11 +00:00
szaka 66eec0839d ntfs_runlists_merge: log all errors 2007-07-16 20:47:48 +00:00
szaka fa961c737b ntfs_mft_record_layout: log all errors 2007-07-16 20:39:26 +00:00
szaka 7444b30fc4 ntfs_attr_find_in_attrdef: log all errors 2007-07-16 20:36:21 +00:00
szaka ea53c7b5fc ntfs_attr_add: log all errors 2007-07-16 19:59:52 +00:00
szaka 472f6fc991 ntfs_attr_size_bounds_check, ntfs_non_resident_attr_record_add: log errors 2007-07-16 19:31:32 +00:00
szaka 396899bb8e ntfs_attr_pwrite: fix missing error handling 2007-07-15 22:14:14 +00:00
szaka d405b5b371 ntfs_mft_record_init(): log errno 2007-07-15 18:17:35 +00:00
szaka 7c926367b9 ntfs_mft_record_format(): cleanup 2007-07-15 16:44:42 +00:00
szaka f6b2f6f98f ntfs_inode_free_space(): log all errors 2007-07-13 23:35:08 +00:00
szaka f45af6814c ntfs_attr_record_move_away(): log all errors 2007-07-13 23:04:40 +00:00
szaka 9a8a59e136 ntfs_inode_add_attrlist(): log all errors 2007-07-13 22:42:35 +00:00
szaka 52d473a5ef ntfs_attr_update_mapping_pairs(): log all errors 2007-07-13 21:33:34 +00:00
szaka 0cee6bc4bb remove redundant ntfs_attr_get_search_ctx() error logging 2007-07-13 20:05:48 +00:00
szaka 115306462a ntfs_mft_data_extend_allocation: log errno 2007-07-11 22:55:22 +00:00
szaka be0cdbb04a ntfs_attr_update_mapping_pairs: refactoring 2007-07-11 22:50:39 +00:00
szaka c8176a77a2 ntfs_rl_sparse, ntfs_rl_get_compressed_size: log errors 2007-07-11 22:46:05 +00:00
szaka 496c285c5d ntfs_attr_free()/ntfs_inode_free(): don't scare users with bogus errors 2007-07-09 22:18:07 +00:00
szaka 076e26f92e ntfs_log_handler_syslog(): don't lose errno in an error path 2007-07-08 20:47:48 +00:00
szaka c214b9c11c No need to check for ENOSPC because ntfs_log_perror() does it now 2007-07-08 20:45:14 +00:00
szaka 4519f33eb5 Log ENOSPC (full disk) errors only during debug 2007-07-08 20:38:18 +00:00
szaka 3f66b95f14 fix very rare, recoverable directory corruption 2007-07-08 18:41:27 +00:00
szaka 2655455f74 fix trace logging 2007-07-08 15:02:49 +00:00
szaka 1cf9c5957b ntfs_resident_attr_resize(), ntfs_non_resident_attr_expand(): log all errors 2007-07-08 14:56:11 +00:00
szaka 78348655bd ntfs_ir_truncate(): log all errors 2007-07-07 23:11:19 +00:00
szaka 59af03cfb8 ntfs_index_add_filename(): don't lose errno 2007-07-07 23:10:28 +00:00
szaka d5642d5cd6 ntfs_ib_write(): don't log ENOSPC error (full disk) 2007-06-28 07:17:44 +00:00
szaka 03b1f670f1 ntfs_readdir(): log errors 2007-06-28 07:17:00 +00:00
szaka b4470951ac remove unused ntfs_device_umount() 2007-06-08 23:11:55 +00:00
szaka 655d656321 ntfs_umount() can return error 2007-06-08 23:09:43 +00:00
szaka b7baa15d03 check ntfs_inode_close() return values
__ntfs_volume_release() can return error
add ntfs_attr_free(), ntfs_error_set() and ntfs_inode_free() helpers
2007-06-08 22:45:48 +00:00
szaka 779903418a ntfs_device_unix_io_close(), ntfs_device_unix_io_sync(): log all errors 2007-06-08 21:35:33 +00:00
szaka a5ee2e2039 check and handle ntfs_inode_close() return value 2007-06-05 00:14:06 +00:00
szaka 7b02774d67 __ntfs_inode_release(): void function, don't return error 2007-06-04 23:00:06 +00:00
szaka 4a16f5a200 ntfs_inode_sync_file_name(): log errors 2007-06-04 22:58:41 +00:00
szaka 4a38929051 ntfs_inode_close(), __ntfs_inode_release(): log errors 2007-06-04 21:32:30 +00:00
szaka 9bbf7ecab1 ntfs_inode_sync(): log errors 2007-06-04 21:02:35 +00:00
szaka 638436ad44 fix: file creation always gave "I/O error" if $MFT Bitmap wasn't up-to-date 2007-05-31 23:52:41 +00:00
szaka 58987ffe0c ntfs_mft_record_alloc(): factor out ntfs_mft_record_init() 2007-05-31 23:07:29 +00:00
szaka 436d36f933 ntfs_pathname_to_inode(): converting long file names to Unicode may failed 2007-05-29 21:04:05 +00:00
szaka f96c61be9f ntfs_ie_add(): cleanup 2007-05-29 20:41:55 +00:00
szaka c674e09ac5 ntfs_log_handler_syslog(): fix missing errno 2007-05-29 20:38:13 +00:00
szaka ce6872b434 ntfs_link(): remove redundant log 2007-05-15 21:13:26 +00:00
szaka e3ae577118 don't flood log with redundant info if MFT record allocation fails 2007-04-22 21:00:18 +00:00
szaka 8000607d58 ntfs_attr_map_whole_runlist(): log failing inode 2007-04-22 20:56:36 +00:00
szaka a69de4e713 fix: catch and deny all junction/reparse point write operations 2007-04-10 18:09:27 +00:00
szaka 7c23599df4 support any size $MFTMirr 2007-04-08 20:32:57 +00:00
szaka 5984592552 support read-write mount with the --force option if logfile is unclean 2007-04-08 20:23:11 +00:00
szaka e52eb5f939 new: libntfs-3g is versioned 2007-04-06 20:22:09 +00:00
szaka 03e9f7a477 set mft zone to be the minimum of 12.5% of the disk size and 200 MB 2007-03-17 02:03:09 +00:00
szaka ac93f2c55c performance: replaced cluster allocator to minimize file fragmentation 2007-03-17 01:58:39 +00:00
szaka 8a12e507c6 don't flood logs with ENOSPC errors (full disk) 2007-03-16 00:31:09 +00:00
szaka 4e1693d0ef Don't calculate bootsector checksum, ntfs doesn't use it and it's often off 2007-02-20 19:09:32 +00:00
szaka e696740463 ntfs_delete(): don't log non-empty dir deleted attempts 2007-02-20 18:53:03 +00:00