Për bërthamën Linux është propozuar drejtuesi ntfsplus me një realizim të ri të NTFS

Namjae Jeon, an participant in the Samba project, accompanying the EXFAT driver and KSMBD server in the Linux kernel, proposed to include a new implementation of the NTFS file system — ntfsplus. It is expected that a more robust and maintained NTFS driver will improve the compatibility of Linux systems with Windows devices and simplify user experience.

Currently, NTFS support in Linux is limited to the old NTFS driver, which has been removed from the Linux kernel and only supported reading, as well as the current NTFS3 driver, which has many unresolved issues due to poor maintenance. Due to such problems, many users and distributions continue to use the old ntfs-3g driver, which operates in user space.

The ntfsplus driver is based on the codebase of the removed classic ntfs driver, which has been reworked, enhanced with write capability, and significantly modified to support modern features, such as the use of page frame memory (folios) instead of the buffer_head structure. The new driver implements delayed block allocation, allowing for performancës së lartë write operations and reduced fragmentation. For buffered read/write operations, direct input/output, extent mapping, and page read/write operations, the iomap library is utilized.

Unlike the existing ntfs3 driver developed by Paragon Software, the ntfsplus driver demonstrates higher performance and supports features such as iomap, delayed block allocation, and user ID mapping upon mounting (idmap). Once accepted into the main kernel, full journaling is planned for ntfsplus (in ntfs3, only a replay log is created, which works incorrectly in tests). The new driver successfully passes 287 tests from the xfstests suite and also implements the features necessary for running Bonnie++ performance tests (the ntfs3 driver passed 218 xfstests and caused issues when running Bonnie++).

Gjatë testimeve të iozone, drejtuesi ntfsplus doli 3-5% më i shpejtë se ntfs3 gjatë shkrimit në një mënyrë me një thread dhe 35-110% kur përdoren 4 thread. Shpejtësia e leximit të ntfsplus dhe ntfs3 është afro në të njëjtin nivel. Në testin për listimin e skedarëve (ls -lR) në katalogët me 100/200/400 mijë skedarë, ntfsplus ishte më i shpejtë me 12~14%. Sipas shpejtësisë së montimit, ntfsplus është 5-6 herë më i shpejtë. Performanca e lartë në ntfsplus arrihet falë përdorimit të operacioneve asinkrone iomap, ndarjes së vonuar të blloqeve, optimizimit të ndarjes së klasterëve të rinj, optimizimit të bashkimit të fragmenteve, ngarkimit të hartës së blloqeve në sfond, ngarkimit parashikues të blloqeve inode dhe informacionit rreth katalogëve.

Vecmas për ntfsplus është përgatitur një grup veglash ntfsprogs-plus, që funksionojnë në hapësirën e përdoruesit dhe janë bazuar në veglat ntfsprogs nga projekti ntfs-3g. Nga ntfsprogs janë transferuar veglat ntfsclone, ntfscluster dhe ntfsinfo. Projekti gjithashtu ka zhvilluar një vegël të re ntfsck për kontrollimin dhe rikuperimin e ndarjeve të dëmtuara me NTFS.

Burimi: opennet.ru

Blini hosting tĂ« besueshĂ«m pĂ«r faqe interneti me mbrojtje nga DDoS, serverĂ« VPS VDS đŸ”„ Blini hosting tĂ« besueshĂ«m pĂ«r faqe interneti me mbrojtje nga DDoS, serverĂ« VPS VDS | ProHoster