Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-222

Cache::open_write should use an options arg for flexability and shoudl allow SYNC writes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.1.0
    • Cache
    • None

    Description

      Unix file open supports a number of options, e.g. O_DIRECT O_NOATIME etc.
      Currently open_write takes one option "overwrite", but there are several other options
      which would be nice, including CLOSE_COMPLETE (finalize the object when nbytes == ndone
      and expect a close, preventing the head from being split from the data in cases where
      the object is small) and SYNC which would call COMPLETE when the object has hit
      the disk and would be recovered in the case of a crash.

      Attachments

        1. ts-222-jp-v1.patch
          30 kB
          John Plevyak

        Activity

          People

            jplevyak John Plevyak
            jplevyak John Plevyak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: