[Varnish] #1343: Storage file handling is confused if file exists

Varnish varnish-bugs at varnish-cache.org
Tue Oct 21 12:25:44 CEST 2014

#1343: Storage file handling is confused if file exists
 Reporter:  lkarsten  |       Owner:  Martin Blix Grydeland <martin@…>
     Type:  defect    |      Status:  closed
 Priority:  normal    |   Milestone:
Component:  varnishd  |     Version:  trunk
 Severity:  minor     |  Resolution:  fixed
 Keywords:            |
Changes (by Martin Blix Grydeland <martin@…>):

 * status:  new => closed
 * owner:   => Martin Blix Grydeland <martin@…>
 * resolution:   => fixed


 In [29097215caf53e30e77ccdee17b9fe9317e722f8]:
 #!CommitTicketReference repository=""
 Remove the 80% file system free space check

 This check never worked as intended for several reasons:

 - Didn't take the existing file size into account, causing it to
   succeed on first startup but fail on next

 - Sparse files were not handled, and can't be handled as we don't know
   where in the file a hole could be and whether truncation actually
   would change the number of blocks used at all

 Fixes: #1343

Ticket URL: <https://www.varnish-cache.org/trac/ticket/1343#comment:4>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

More information about the varnish-bugs mailing list