Commit Graph

24 Commits (f1960238411d0a7286ed279749968398df83e10f)

Author SHA1 Message Date
Jean-Pierre André f85ce6ff2e Skipped errors for bad free clusters before they are computed
The count of free clusters may be updated while mounting before it
has been initialized, which may lead to irrelevant error messages.
Moreover the count is not computed at all in some ntfsprogs utilities.
So set up a flags to avoid outputting irrelevant errors.
2021-07-19 09:23:23 +02:00
Erik Larsson f076fae75a Fix endianness issues in log and terminal output.
This commit addresses issues where little-endian variables are emitted
raw to a log or output stream which is to be interpreted by the user.

Outputting data in non-native endianness can cause confusion for anybody
attempting to debug issues with a file system.
2015-12-21 23:31:09 +01:00
Jean-Pierre André a192775e2a developed overwriting compressed files 2010-05-25 10:25:31 +02:00
jpandre b10590b354 Avoided setting a variable to itself (Fabian Keil) 2010-01-21 08:07:21 +00:00
jpandre f259fb44df Improved cluster allocation on volumes too filled 2009-07-01 19:16:33 +00:00
jpandre 2a1d75a3da Adapted to ntfs-3g.2009.3.8 2009-03-27 09:10:00 +00:00
jpandre a58ff9073d Improved bit countings 2008-09-06 09:34:23 +00:00
szaka a6d8c6b1a6 new: use tabulated logging; add ntfs_log_enter() and ntfs_log_leave()
and convert the most commonly used functions
2008-06-30 00:13:23 +00:00
szaka 1098244bbf copyright update 2008-06-29 23:13:32 +00:00
jpandre 4f03c199df Adapted to ntfs-3g-1.2506 2008-05-14 08:27:55 +00:00
jpandre d5fc330628 Improved search for the longest run of unallocated blocks 2008-01-15 17:35:05 +00:00
jpandre 0eebef6e06 Code cleaning : fixed machine-dependent cast when fprintf'ing with %lld 2007-10-09 09:05:43 +00:00
jpandre 13a68a1864 Upgraded to v1.1004 2007-10-06 14:48:10 +00:00
szaka a97c661efe statfs optimization: O(1) free cluster calculation (David Fox, Szabolcs Szakacsits) 2007-09-12 20:51:06 +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 2655455f74 fix trace logging 2007-07-08 15:02:49 +00:00
szaka ac93f2c55c performance: replaced cluster allocator to minimize file fragmentation 2007-03-17 01:58:39 +00:00
szaka 21351b1132 ntfs_cluster_set_zone_pos(): fix unused 'zone' variable warning 2007-01-09 21:00:21 +00:00
szaka ba30abd0a4 fix "no previous prototype" warnings (Yuval) 2007-01-09 20:54:54 +00:00
szaka 6ef4ffde9b ntfs_cluster_alloc(): scatter new and concurrent writes 2007-01-01 17:59:01 +00:00
szaka a461c127d9 ntfs_cluster_alloc(): factor out codes related to positioning in zones 2007-01-01 17:35:58 +00:00
szaka e85c1e47fd ntfs_cluster_alloc(): log errors 2007-01-01 17:17:39 +00:00
szaka 31d7b6875f ntfs_cluster_alloc(): use 512 bytes NTFS_LCNALLOC_BSIZE instead of 8kB 2007-01-01 17:12:04 +00:00
szaka ba63b7daca initial CVS import 2006-10-30 22:32:48 +00:00