[Bug 8918] Use fiemap to quickly detect zero ranges of source file

2012-06-16 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8918 Wayne Davison changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #3 from Wayne Davison

[Bug 8918] Use fiemap to quickly detect zero ranges of source file

2012-05-08 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8918 --- Comment #2 from Theodore Ts'o 2012-05-08 10:01:13 UTC --- Using FIEMAP has some real potential problems if the file was just recently written (and has blocks which were recently written, and where their final location on disk has not been determ

[Bug 8918] Use fiemap to quickly detect zero ranges of source file

2012-05-07 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8918 --- Comment #1 from Arne Jansen 2012-05-08 05:59:34 UTC --- you could also use the SEEK_HOLE/SEEK_DATA interface which linux added recently. This would have the advantage of being Solaris-compatible. -- Configure bugmail: https://bugzilla.samba.or