lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <bug-103111-13602@https.bugzilla.kernel.org/> Date: Wed, 19 Aug 2015 13:34:48 +0000 From: bugzilla-daemon@...zilla.kernel.org To: linux-ext4@...r.kernel.org Subject: [Bug 103111] New: auto_da_alloc mount option not working https://bugzilla.kernel.org/show_bug.cgi?id=103111 Bug ID: 103111 Summary: auto_da_alloc mount option not working Product: File System Version: 2.5 Kernel Version: 2.6.39 Hardware: Intel OS: Linux Tree: Fedora Status: NEW Severity: normal Priority: P1 Component: ext4 Assignee: fs_ext4@...nel-bugs.osdl.org Reporter: patelrakeshcomp@...il.com Regression: No As per the ext4 guide, ext4 will detect the replace-via-rename and replace-via-truncate patterns and force that any delayed allocation blocks are allocated such that at the next journal commit, in the default data=ordered mode, the data blocks of the new file are forced to disk before the rename() opera‐ tion is committed. But it looks like this feature is not working anymore. Kernel version: 2.6.39. Filesystem: ext4 Here is the sample code: ofstream myfile; myfile.open ("example.txt",std::ofstream::trunc); myfile << "Writing this to a file.\n"; system("mv example.txt example.txt1"); Expected behaviour: Ext4 should detect trunc() call and should allocate blocks for same. So there should be no zero-length file after abnormal shutdown(withing 30sec). Actual results: File is having zero-length after abnormal reboot(power outage). -- You are receiving this mail because: You are watching the assignee of the bug.-- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists