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

Varnish varnish-bugs at varnish-cache.org
Thu Jan 15 16:35:45 CET 2015

#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:            |

Comment (by Lasse Karstensen <lkarsten@…>):

 In [a710884ba3076c45be2f092983a19176dde908a8]:
 #!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:6>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

More information about the varnish-bugs mailing list