LWN.net Logo

Traditional interface is zero-filling

Traditional interface is zero-filling

Posted Jan 27, 2011 18:16 UTC (Thu) by mcortese (guest, #52099)
In reply to: Traditional interface is zero-filling by brouhaha
Parent article: Punching holes in files

If I want to punch a 5GB hole in the middle of a file, I don't want to have to do 5GB of writes to make it happen.
Wouldn't you need to do it anyway when you allocate that space again?


(Log in to post comments)

Traditional interface is zero-filling

Posted Jan 27, 2011 21:34 UTC (Thu) by brouhaha (subscriber, #1698) [Link]

I wouldn't be punching a hole if I intended to fill it any time soon.

In any case, supposing that I did want to punch a big hole, then fill it, I wouldn't want to have to write the whole region twice.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds