Ticket #322 (closed enhancement: wontfix)

Opened 6 years ago

Last modified 3 years ago

PATCH: Enable mmap of devices if running Linux

Reported by: petter Owned by: martin
Priority: normal Milestone: Varnish 2.1 release
Component: build Version: trunk
Severity: normal Keywords:
Cc: ay@…

Description (last modified by kristian) (diff)

This patch enables block devices to be opened withe the file storage option on Linux. It is not 100% tested, so no guarantees. To use a block device as storage, use the option -s file,/dev/somedevice,100%

You must add "100%", otherwise only 50% will be used, and emember to ABSOLUTELY sure you have selected the right device, otherwise you WILL loose data.

This patch is for r3197 of storage_file.c

Attachments

block_file.patch Download (3.3 KB) - added by petter 6 years ago.

Change History

comment:1 Changed 6 years ago by perbu

  • Cc ay@… added

comment:2 Changed 6 years ago by tfheen

  • Milestone set to After 2.0

Changed 6 years ago by petter

comment:3 Changed 5 years ago by sky

When I tried this patch it had massive performance problems.

Should it still be merged in?

comment:4 Changed 4 years ago by martin

  • Owner set to martin

comment:5 Changed 3 years ago by kristian

  • Status changed from new to closed
  • Resolution set to wontfix
  • Description modified (diff)

This has been invalidated by time.

If time turns back, re-opening makes sense.

Apologies for the somewhat dismissive treatment of this patch.

Note: See TracTickets for help on using tickets.