1. 08 Nov, 2016 2 commits
  2. 07 Nov, 2016 7 commits
  3. 04 Nov, 2016 1 commit
  4. 03 Nov, 2016 1 commit
  5. 02 Nov, 2016 3 commits
  6. 01 Nov, 2016 2 commits
  7. 31 Oct, 2016 1 commit
  8. 27 Oct, 2016 2 commits
  9. 26 Oct, 2016 5 commits
  10. 25 Oct, 2016 1 commit
  11. 21 Oct, 2016 1 commit
    • Steven Murray's avatar
      Dropping the krb protocol check for CTA admins · e419d922
      Steven Murray authored
      Before this commit, Daniele had hardcoded into the CTA
      front-end the constraint that CTA admins must be
      authenticated by krb5.
      
      This commit drops this contraint for two reasons:
      
      1. The xrootd/EOS configuration files already require
         operators to specify which authentication methods can
         be used.  Daniele’s constraint is not needed to
         further enforce security, it only serves to constrain
         admin authentication to krb5 which I personally do not
         see as providing any added value.
      
      2. The CERN infrastructure uses krb5, other sites like
         RAL do not.
      e419d922
  12. 20 Oct, 2016 5 commits
    • Eric Cano's avatar
      Added post-fork cleanup in process handlers. · 6e162903
      Eric Cano authored
      The destructor of the child process was wrongly de-registering the signal handler from
      epoll. This is now prevented by calling the extra post-fork cleanup function for handlers
      not involved in a child process before actually running the child process itself.
      6e162903
    • Eric Cano's avatar
      bb4db341
    • Eric Cano's avatar
    • Eric Cano's avatar
      67970f8f
    • Victor Kotlyar's avatar
      Ported commits from castor/master: · a6c49d63
      Victor Kotlyar authored
      1d92302d5304266ee14a86b8d9fcbd671b567e5c
        Fix for drive::xx::clearCompressionStats
          - For DriveT10000, DriveMHVTL: stateful accumulator
          - For DriveIBM3592, DriveLTO: log select on specific log page
      
      e6780a8f0a5ed6366ae750eaecc189ac7d0d07fe
        Fix overflowing mountTotal{Read,Write}BytesProcessed by bumping up
        to 64-bit container
      
      12c31edf5193dae90ef65eaa6c3d0eb81a7c6927
        Refactor fix for drive::xx::clearCompressionStats
      
      f626a773aae60b36146d3170e4eb2ef5fd13db35
        Merge branch 'fix_clear_compression_stats' into 'master'
        Fix clear compression stats
      
        ## Description
          The aim of this merge request is to fix the
          `drive::clearCompressionStats()` method which deleted all log metrics
          with log select on page 0x00 (aka reset all metrics).
          The following changes are introduced:
            * For **IBM and LTO drives**: We are selectively clearing only the
            * compression statistics (pages 0x38, 0x32 equivalently)
            * For **Oracle and MHVTL drives**: Wa are making compression
            * statistics stateful, by accumulating values and subtracting on
            * each flush
          Moreover, we are piggybacking a fix for overflowing
          mountTotal{Read,Write}BytesProcessed
          (drive::xx::getTape{Read,Write}Errors) by bumping up the container map
          in 64-bit value
      
        ## Testing
          The results of the changes were tested against IBM and Oracle
          drives.
          More specifically, we attempted to write 40 randomly generated files
          of 2GB in size with the previous CASTOR version (2.1.16-9), extracted
          the compression metrics and compared
      
        ### IBM
          **before:**
            ```
            Oct  6 12:23:09 tpsrv240 tapeserverd[14257]: LVL="Info" TID="14268"
            MSG="Reported to the client that a batch of file was written on tape"
            thread="ReportPacker" clientHost="tps
            Oct  6 12:24:53 tpsrv240 tapeserverd[14257]: LVL="Info" TID="14268"
            MSG="Reported to the client that a batch of file was written on tape"
            thread="ReportPacker" clientHost="tps
            Oct  6 12:25:45 tpsrv240 tapeserverd[14257]: LVL="Info" TID="14268"
            MSG="Reported to the client that a batch of file was written on tape"
            thread="ReportPacker" clientHost="tps
            ```
          **after: **
            ```
            Oct  6 12:34:28 tpsrv240 tapeserverd[14836]: LVL="Info" TID="14847"
            MSG="Reported to the client that a batch of file was written on tape"
            thread="ReportPacker" clientHost="tps
            Oct  6 12:36:12 tpsrv240 tapeserverd[14836]: LVL="Info" TID="14847"
            MSG="Reported to the client that a batch of file was written on tape"
            thread="ReportPacker" clientHost="tps
            Oct  6 12:37:04 tpsrv240 tapeserverd[14836]: LVL="Info" TID="14847"
            MSG="Reported to the client that a batch of file was written on tape"
            thread="ReportPacker" clientHost="tps
            ```
      
        ### Oracle
          **before:**
            ```
            Oct  6 12:21:44 tpsrv614 tapeserverd[3062]: LVL="Info" TID="3073"
            MSG="Reported to the client that a batch of file was written on tape"
            thread="ReportPacker" clientHost="tpsrv
            Oct  6 12:24:02 tpsrv614 tapeserverd[3062]: LVL="Info" TID="3073"
            MSG="Reported to the client that a batch of file was written on tape"
            thread="ReportPacker" clientHost="tpsrv
            Oct  6 12:25:12 tpsrv614 tapeserverd[3062]: LVL="Info" TID="3073"
            MSG="Reported to the client that a batch of file was written on tape"
            thread="ReportPacker" clientHost="tpsrv
            ```
          **after:**
            ```
            Oct  6 12:34:58 tpsrv614 tapeserverd[3691]: LVL="Info" TID="3702"
            MSG="Reported to the client that a batch of file was written on tape"
            thread="ReportPacker" clientHost="tpsrv
            Oct  6 12:37:16 tpsrv614 tapeserverd[3691]: LVL="Info" TID="3702"
            MSG="Reported to the client that a batch of file was written on tape"
            thread="ReportPacker" clientHost="tpsrv
            Oct  6 12:38:26 tpsrv614 tapeserverd[3691]: LVL="Info" TID="3702"
            MSG="Reported to the client that a batch of file was written on tape"
            thread="ReportPacker" clientHost="tpsrv
            ```
      See merge request !11
      a6c49d63
  13. 19 Oct, 2016 3 commits
  14. 11 Oct, 2016 1 commit
  15. 17 Oct, 2016 1 commit
  16. 11 Oct, 2016 4 commits