[Bug 11588] better handling for --preallocate with --sparse
samba-bugs at samba.org
samba-bugs at samba.org
Sat Oct 8 21:28:49 UTC 2016
https://bugzilla.samba.org/show_bug.cgi?id=11588
--- Comment #11 from Theodore Ts'o <tytso at mit.edu> ---
Re: #9. I'm not able to reproduce the described behavior. If you want to
follow up on what you think is a kernel bug, please send a simple repro program
or script and what version of the kernel you are using to the linux-ext4
mailing list. Thanks!!
Cheers,
<tytso at callcc> {/usr/projects/docker/dropbox} (master)
1009% fallocate -o 0 -l 128M test.file
<tytso at callcc> {/usr/projects/docker/dropbox} (master)
1010% filefrag -v test.file
Filesystem type is: ef53
File size of test.file is 134217728 (32768 blocks of 4096 bytes)
ext: logical_offset: physical_offset: length: expected: flags:
0: 0.. 4095: 55990272.. 55994367: 4096: unwritten
1: 4096.. 8191: 56025088.. 56029183: 4096: 55994368: unwritten
2: 8192.. 10239: 56170496.. 56172543: 2048: 56029184: unwritten
3: 10240.. 14335: 56180736.. 56184831: 4096: 56172544: unwritten
4: 14336.. 16383: 56252416.. 56254463: 2048: 56184832: unwritten
5: 16384.. 20479: 56229888.. 56233983: 4096: 56254464: unwritten
6: 20480.. 28671: 56305664.. 56313855: 8192: 56233984: unwritten
7: 28672.. 32767: 56352768.. 56356863: 4096: 56313856:
last,unwritten,eof
test.file: 8 extents found
<tytso at callcc> {/usr/projects/docker/dropbox} (master)
1011% xfs_io -c "fpunch 65536 65536" test.file
<tytso at callcc> {/usr/projects/docker/dropbox} (master)
1012% filefrag -v test.file
Filesystem type is: ef53
File size of test.file is 134217728 (32768 blocks of 4096 bytes)
ext: logical_offset: physical_offset: length: expected: flags:
0: 0.. 15: 55990272.. 55990287: 16: unwritten
1: 32.. 4095: 55990304.. 55994367: 4064: unwritten
2: 4096.. 8191: 56025088.. 56029183: 4096: 55994368: unwritten
3: 8192.. 10239: 56170496.. 56172543: 2048: 56029184: unwritten
4: 10240.. 14335: 56180736.. 56184831: 4096: 56172544: unwritten
5: 14336.. 16383: 56252416.. 56254463: 2048: 56184832: unwritten
6: 16384.. 20479: 56229888.. 56233983: 4096: 56254464: unwritten
7: 20480.. 28671: 56305664.. 56313855: 8192: 56233984: unwritten
8: 28672.. 32767: 56352768.. 56356863: 4096: 56313856:
last,unwritten,eof
test.file: 8 extents found
<tytso at callcc> {/usr/projects/docker/dropbox} (master)
1013% uname -a
Linux callcc 4.8.0-00041-gecd2f69 #3 SMP Mon Oct 3 02:56:05 EDT 2016 x86_64
GNU/Linux
--
You are receiving this mail because:
You are the QA Contact for the bug.
More information about the rsync
mailing list