Skip to contentSkip to conversation

NtfsPlus extend mft data allocation error.

FS-DEV [email protected] 2 participants 3 messages Oct 25, 2025 – Nov 20, 2025 VFS

lore
Share & tools
lore
#0 lore raw

Hi, I' decided to test your new driver, as I found ntfs3 driver buggy and causing system crush under huge amount of files writing ti disk ("I'm reported this bug already on lore.kernel maillists). The thing is ntfsplus demonstrated buggy behavior in somewhat similar situation, but without system crushing or partition corruption. When I try, for example, download many small files through download manager, download can interrupt, and cosole version writes about memory allocation error. Similar error was in ntfs3 driver, but in this case with ntfsplus there is no program/system crash, just soft-erroring and interrupting, but files cannot be wrote in this case. In dmesg this errors follow up with this messages:

[16952.870880] ntfsplus: (device sdc1): ntfs_mft_record_alloc(): Failed to extend mft data allocation.
[16954.299230] ntfsplus: (device sdc1): ntfs_mft_data_extend_allocation_nolock(): Not enough space in this mft record to accommodate extended mft data attribute extent.  Cannot handle this yet.

I know. that driver in development now, so I'm reporting this bug in time when development is still in process. Thank you

#1 lore raw
Quoted 9 lines · On Sun, Oct 26, 2025 at 3:40 AM <[email protected]> wrote:

Hi, I' decided to test your new driver, as I found ntfs3 driver buggy and causing system crush under huge amount of files writing ti disk ("I'm reported this bug already on lore.kernel maillists). The thing is ntfsplus demonstrated buggy behavior in somewhat similar situation, but without system crushing or partition corruption. When I try, for example, download many small files through download manager, download can interrupt, and cosole version writes about memory allocation error. Similar error was in ntfs3 driver, but in this case with ntfsplus there is no program/system crash, just soft-erroring and interrupting, but files cannot be wrote in this case. In dmesg this errors follow up with this messages:

[16952.870880] ntfsplus: (device sdc1): ntfs_mft_record_alloc(): Failed to extend mft data allocation.
[16954.299230] ntfsplus: (device sdc1): ntfs_mft_data_extend_allocation_nolock(): Not enough space in this mft record to accommodate extended mft data attribute extent.  Cannot handle this yet.

I know. that driver in development now, so I'm reporting this bug in time when development is still in process. Thank you

I will take a look and fix the next version.
Thanks for your report!

#2 lore raw
Quoted 5 lines · Namjae Jeon
Quoted 3 lines · On Sun, Oct 26, 2025 at 3:40 AM <[email protected]> wrote:

Hi,

Quoted 8 lines
Quoted 6 lines

Hi, I' decided to test your new driver, as I found ntfs3 driver buggy and causing system crush under huge amount of files writing ti disk ("I'm reported this bug already on lore.kernel maillists). The thing is ntfsplus demonstrated buggy behavior in somewhat similar situation, but without system crushing or partition corruption. When I try, for example, download many small files through download manager, download can interrupt, and cosole version writes about memory allocation error. Similar error was in ntfs3 driver, but in this case with ntfsplus there is no program/system crash, just soft-erroring and interrupting, but files cannot be wrote in this case. In dmesg this errors follow up with this messages:

[16952.870880] ntfsplus: (device sdc1): ntfs_mft_record_alloc(): Failed to extend mft data allocation.
[16954.299230] ntfsplus: (device sdc1): ntfs_mft_data_extend_allocation_nolock(): Not enough space in this mft record to accommodate extended mft data attribute extent.  Cannot handle this yet.

I know. that driver in development now, so I'm reporting this bug in time when development is still in process. Thank you

I will take a look and fix the next version.
Thanks for your report!

Could you check if your problem has been improved in the branch below?

git clone --branch=ntfs-next
https://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/ntfs.git

Thanks!