IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31851


Ignore:
Timestamp:
Jul 8, 2011, 6:08:32 PM (15 years ago)
Author:
watersc1
Message:

Attempt to force NFS to stop lying to us on neb-replicate calls. Silence glockfile from printing status statement.

Location:
tags/ipp-20110622
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20110622/Nebulous/lib/Nebulous/Client.pm

    r29890 r31851  
    262262    $log->debug( "copied instance" );
    263263
     264    # Force a flush to disk
     265    {
     266        my $disk_file_name = $uri->path;
     267#       print ">> $disk_file_name <<\n";
     268        system("glockfile $disk_file_name xcld 0");
     269        unless (($? >> 8) == 0) {
     270            $log->logdie( "can not create a lock on $key at $uri" );
     271        }
     272    }
    264273    close( $fh ) or $log->logdie( "can not close $key" );
    265274    close( $new_fh ) or $log->logdie( "can not close $key" );
  • tags/ipp-20110622/Ohana/src/tools/src/glockfile.c

    r12333 r31851  
    3535  }
    3636
    37   fprintf (stderr, "file is locked\n");
     37  //  fprintf (stderr, "file is locked\n");
    3838  sleep (holdtime);
    3939  fclearlockfile (filename, f, type, &state);
Note: See TracChangeset for help on using the changeset viewer.