[root] / trunk / net / netx / src / TXNetFile.cxx Repository:
ViewVC logotype

Log of /trunk/net/netx/src/TXNetFile.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 48131 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 19 15:32:32 2012 UTC (2 years, 1 month ago) by rdm
File length: 47063 byte(s)
Diff to previous 45484
From Gerri:
this patch allows to build ROOT using an untagged xrootd (e.g. the trunk).

Revision 45484 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 8 14:50:11 2012 UTC (2 years, 5 months ago) by pcanal
File length: 47025 byte(s)
Diff to previous 43295
From Elvin: White space and doc wording

Revision 43295 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 8 15:01:08 2012 UTC (2 years, 10 months ago) by ganis
File length: 47017 byte(s)
Diff to previous 41550

  - Re-arrage usage of xrootd-related entities in such a way that internal headers are
    not needed by 'netx' headers
  - Remove external support for very old xrootd versions (older than 4 years)

Revision 41550 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 24 15:30:04 2011 UTC (3 years, 3 months ago) by rdm
File length: 46896 byte(s)
Diff to previous 40871
From Gerri:
removing built-in xrootd, from now on use external xrootd.

Revision 40871 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 13 19:54:04 2011 UTC (3 years, 4 months ago) by pcanal
File length: 46972 byte(s)
Diff to previous 39275
From Brian Bockelman:
TXNetFile currently defaults XNet.Debug to -1; this is not a valid debug level for xrootd.  Let's set to 0?

Revision 39275 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 19 18:17:37 2011 UTC (3 years, 8 months ago) by pcanal
File length: 46973 byte(s)
Diff to previous 37046
From Elvin Alin Sindrilaru:

The prefetching mechanism uses two new classes (TFilePrefetch.h and 
TFPBlock.h) to prefetch in advance a block of entries. There is a second 
thread which takes care of actually transferring the blocks and making 
them available to the main requesting thread. Therefore, the time spent 
by the main thread waiting for the data before processing considerably 
decreases. Besides the prefetching mechanisms there is also a local 
caching option which can be enabled by the user. Both capabilities are 
disabled by default and must be explicitly enabled by the user. 

In order to enable the prefetching the user must define the environment 
variable "TFile.AsyncPrefetching" as follows:
   gEnv->SetValue("TFile.AsyncPrefetching", 1). 
Only when the prefetching is enabled can the user set the local cache 
directory in which the file transferred can be saved. For subsequent 
reads of the same file the system will use the local copy of the file 
from cache. To set up a local cache directory, a client can use the 
following commands:

   TString cachedir="file:/tmp/xcache/";
   // or using xrootd on port 2000 
   // TString cachedir="root://localhost:2000//tmp/xrdcache1/";
   gEnv->SetValue("Cache.Directory", cachedir.Data());  

The "TFilePrefetch" class is responsible with actually reading and storing 
the requests received from the main thread. It also creates the working 
thread which will transfer all the information. Apart from managing the 
block requests, it also deals with caching the blocks on the local machine 
and retrieving them when necessary. 

The "TFPBlock" class represents the encapsulation of a block request. It 
contains the chunks to be prefetched and also serves as a container for 
the information read.

In order to accommodate the new prefetching mechanism the following files 
have suffered considerable modifications: TFileCacheRead.cxx/.h, 
TTreeCache.cxx/.h and to a less extent: TXNetFile.cxx, TFile.h. 
Basically in TFileCacheRead we've added the logic for dealing with the 
second buffer that is prefetched. In TTreeCache during prefeching the 
method FillBuffer is called after each read so that once the main thread 
starts reading from the last available  buffer, the second thread starts 
prefetching the next block.

Revision 37046 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 28 20:12:19 2010 UTC (4 years, 1 month ago) by ganis
File length: 46711 byte(s)
Diff to previous 36474
  From Lukasz:
  add protection to fix a crash while reading a file through xroot without a cache in raw mode.

Revision 36474 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 2 13:18:49 2010 UTC (4 years, 2 months ago) by rdm
File length: 46693 byte(s)
Diff to previous 36199
From Luckasz:
ensure that the default value transition timeout is set correctly.

Revision 36199 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 8 13:38:26 2010 UTC (4 years, 3 months ago) by rdm
File length: 46453 byte(s)
Diff to previous 35190
fix clang warning (length modifier 'L' results in undefined behavior or 
no effect with 'd' conversion specifier).

Revision 35190 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 7 20:46:35 2010 UTC (4 years, 4 months ago) by pcanal
File length: 46451 byte(s)
Diff to previous 35186
Fix fatal compiler warning

Revision 35186 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 7 16:26:29 2010 UTC (4 years, 4 months ago) by pcanal
File length: 46444 byte(s)
Diff to previous 34444
From Brian Bockelman:

Avoid a segfault that can be caused by calling

TTreeCache::StopLearningPhase

when there is no TTreeCache currently attached to the file.

Revision 34444 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 16 02:17:39 2010 UTC (4 years, 6 months ago) by pcanal
File length: 46341 byte(s)
Diff to previous 34286
Avoid doing seeks on the physical file reprensation when it is not absolutely necessary
(i.e. it is not need if we are going to pick the data from our cache).
Introduce a SetOffset to change fOffset (i.e. the logical position in the file) without doing a lseek.
Introduce ReadBuffer(char * buf, Long64_t pos, Int_t len) to avoid the lseek when the data is in the cache.

See <http://savannah.cern.ch/bugs/?69845>

Revision 34286 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 1 20:38:57 2010 UTC (4 years, 6 months ago) by rdm
File length: 45972 byte(s)
Diff to previous 34206
fix format errors related to TString::Form(), TString::Format(), Form()
and Printf().

Revision 34206 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 30 09:28:27 2010 UTC (4 years, 6 months ago) by brun
File length: 45978 byte(s)
Diff to previous 33844
Fix formats in Info statements

Revision 33844 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 11 10:48:06 2010 UTC (4 years, 7 months ago) by pcanal
File length: 45977 byte(s)
Diff to previous 33843
fix coverity warning

Revision 33843 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 11 10:33:11 2010 UTC (4 years, 7 months ago) by pcanal
File length: 45947 byte(s)
Diff to previous 33291
fix coverity warning

Revision 33291 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 29 13:00:16 2010 UTC (4 years, 8 months ago) by ganis
File length: 45961 byte(s)
Diff to previous 31457
   Fix a problem with the file stager used to check the status of a file 
   before open when the StagedOnly flag is set.
   Fixes a problem with dataset verification when the MSS url is not set.

Revision 31457 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 30 13:36:37 2009 UTC (5 years, 1 month ago) by brun
File length: 45881 byte(s)
Diff to previous 30977
From Fabrizio:
In TFileCacheRead add a new virtual function GetUnzipBuffer in order
to avoid InheritsFrom in TBasket::ReadBasketBuffers.

In TTreeCacheUnzip optimizations related to CPU cycles and memory.

Related fixes to TFileCacheRead. Also comment "if gDebug" statements.

In TXNetFile fixes related to the reporting of TTreePerfStats.

Revision 30977 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 5 01:37:22 2009 UTC (5 years, 2 months ago) by rdm
File length: 45584 byte(s)
Diff to previous 30961
change to new FileReadEvent start time convention.

Revision 30961 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 3 13:04:49 2009 UTC (5 years, 2 months ago) by brun
File length: 45100 byte(s)
Diff to previous 30949
From Fabrizio:
It seems that TXNetFile
completely ignored the existence of the TArchiveFiles. Now fixed.

Revision 30949 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 2 16:37:58 2009 UTC (5 years, 2 months ago) by ganis
File length: 44986 byte(s)
Diff to previous 30647
    Import from the vendor branch new version of 'xrootd' (20091102-0415-root).
    This version contains some important fix in the client 'readv' needed by ALICE
    and new cache policies on the client side. It also contains the new listing
    features implemented recently in the 'cns' module.

Revision 30647 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 9 12:43:33 2009 UTC (5 years, 3 months ago) by ganis
File length: 44291 byte(s)
Diff to previous 30541
   Update the endpoint URL only if no opaque information (token) was added by the redirector.
   In such cases the endpoint URL is valid only one and would lead to connection failures
   on further attempts.
   This patch fixes a problem with datasets having URLs pointing to CASTOR/xrootd servers:

       root://<stagerhost>//castor/cern.ch ......[?svcClass=<svcClass>]

Revision 30541 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 1 15:11:14 2009 UTC (5 years, 3 months ago) by brun
File length: 44094 byte(s)
Diff to previous 29886
From Fabrizio:
 Under very high load conditions for a long time, TXNetFile::ReadBuffers may fail.
If it was used in async mode, like it is if TTreeCache is enabled, a SEGV was generated, instead of proceeding normally.

Revision 29886 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 24 14:58:18 2009 UTC (5 years, 5 months ago) by brun
File length: 43937 byte(s)
Diff to previous 29877
From Fabrizio
Reimplement functionality for async mode without introducing a dependency of libRIO on TXNetFile

Revision 29877 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 24 09:14:46 2009 UTC (5 years, 5 months ago) by brun
File length: 43847 byte(s)
Diff to previous 28655
From Fabrizio:
Several optimizations related to the TreeCache and parallel unzipping.

Revision 28655 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 16 10:29:13 2009 UTC (5 years, 8 months ago) by ganis
File length: 44086 byte(s)
Diff to previous 28625
Fix a logic problem in checking env settings

Revision 28625 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 14 14:32:28 2009 UTC (5 years, 8 months ago) by ganis
File length: 44068 byte(s)
Diff to previous 27487
Fix a problem overwriting the local environment settings for the xrootd sec modules

Revision 27487 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 18 13:17:34 2009 UTC (5 years, 11 months ago) by ganis
File length: 43580 byte(s)
Diff to previous 27423

    - Import a new XROOTD version 20090217-0500 including several fixes both on server and
      client sides (see release notes).
      Note that 'gmake distclean-xrootd' may be needed for a correct compilation after an update.
    - In TXNetFile, add new rootrc env XNet.DfltTcpWindowSize to control the TCP windows size in XrdClient.
    - Update release notes.

Revision 27423 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 11 16:04:24 2009 UTC (5 years, 11 months ago) by rdm
File length: 43324 byte(s)
Diff to previous 27419
fix indentation.

Revision 27419 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 11 13:29:27 2009 UTC (5 years, 11 months ago) by brun
File length: 43322 byte(s)
Diff to previous 27347
From Fabrizio:
Fix a problem in TFile::Cp when used in combination with Alien and xrootd

Revision 27347 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 4 10:20:24 2009 UTC (5 years, 11 months ago) by rdm
File length: 43901 byte(s)
Diff to previous 25721
From Fabrizio:
fix issue with TAlienFile size being registered as 0.

Revision 25721 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 7 10:44:48 2008 UTC (6 years, 3 months ago) by ganis
File length: 43927 byte(s)
Diff to previous 24694
From F.Furano: update also the read-calls counters after each reading

Revision 24694 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 7 20:32:41 2008 UTC (6 years, 6 months ago) by rdm
File length: 43891 byte(s)
Diff to previous 24662
fix issue in TAlienFile::Close() that was still trying to access the remote
file while it was already closed. Bug introduced by Fabrizio in rev 23820.

Revision 24662 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 4 10:54:58 2008 UTC (6 years, 6 months ago) by rdm
File length: 43863 byte(s)
Diff to previous 24660
store netops argument for later re-use in ReOpen().

Revision 24660 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 4 10:14:25 2008 UTC (6 years, 6 months ago) by rdm
File length: 43837 byte(s)
Diff to previous 24637
make sure fD=-2 after successful open.

Revision 24637 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 3 12:36:12 2008 UTC (6 years, 6 months ago) by ganis
File length: 43631 byte(s)
Diff to previous 24623


   Make Close and ReOpen behave as for all other implementations: Close closes also the
   connection (equivalent to a destruction); ReOpen reopens the connection if needed.

Revision 24623 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 2 16:11:41 2008 UTC (6 years, 6 months ago) by ganis
File length: 43485 byte(s)
Diff to previous 24615
Add missing call to XrdClient::Close in TXNetFile::Close()

Revision 24615 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 2 12:16:28 2008 UTC (6 years, 6 months ago) by ganis
File length: 43443 byte(s)
Diff to previous 24451
In case of 'rootd', call TFile::Init via TNetFile::Init to correctly set fD

Revision 24451 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 20 23:04:40 2008 UTC (6 years, 7 months ago) by ganis
File length: 43440 byte(s)
Diff to previous 23819
Add dynamic cache size synchronization (from F. Furano)

Revision 23819 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 13 12:09:45 2008 UTC (6 years, 8 months ago) by rdm
File length: 42897 byte(s)
Diff to previous 23091
From Fabrizio:
- Correctly honor the create/recreate options coming from TFile::Open().
- Allow the size of the (written) file to be retrieved after the Close
  (solves several reported file size mismatches).

Revision 23091 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 9 15:04:27 2008 UTC (6 years, 9 months ago) by rdm
File length: 42883 byte(s)
Diff to previous 23012
moving the follwing directories to "net":

alien, auth, glite, globusauth, krb5auth, ldap, monalisa, net, netx,
rootd, rpdutils, srputils, xrootd

Revision 23012 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 7 12:42:00 2008 UTC (6 years, 9 months ago) by ganis
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 42883 byte(s)
Diff to previous 22583
   TXNetFile:
    - add possibility to set the max number of retries on the fly
   TXNetSystem:
    - fix a return code
    - adjust some printouts

Revision 22583 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 11 07:16:50 2008 UTC (6 years, 10 months ago) by brun
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 42194 byte(s)
Diff to previous 22556
From Gerri:
        - TXNetFile: fix warning when compiling with an external XROOTD
        - XrdProofSched: calculating the number of busy CPUs on the base of all started sessions
           (instead of the sessions in running state).
        - TProofPlayer.h: fix some descriptions
        - Make SavePerfInfo.C compilable

Revision 22556 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 10 09:35:46 2008 UTC (6 years, 10 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 42166 byte(s)
Diff to previous 22261
From Fabrizio and Gerri:
detailed monitoring of file open stages in TXNetFile and TAlienFile.
Requested by ALICE to track where the time is spent waiting for a file to
open (in xrootd, in Castor, in Alien, etc.).

Revision 22261 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 20 17:46:26 2008 UTC (6 years, 11 months ago) by ganis
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 41505 byte(s)
Diff to previous 21804
Remove calle to XrdClient::Sync in SysStat

Revision 21804 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 22 14:46:29 2008 UTC (7 years ago) by ganis
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 41566 byte(s)
Diff to previous 21803
   Enable per-instance control of the cache parameters also for RAW files;
   by default cache is OFF for these files, but there maybe cases in which
   the cache can improve performances.

Revision 21803 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 22 14:32:53 2008 UTC (7 years ago) by ganis
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 41553 byte(s)
Diff to previous 21665
Change default option for CRL checking

Revision 21665 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 13 12:39:19 2008 UTC (7 years ago) by brun
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 41553 byte(s)
Diff to previous 21234
From Gerri:
   - fix problem with setting the xrootd cache parameters per instance
   fixes: problem reported privately by ALICE

Revision 21234 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 6 15:45:40 2007 UTC (7 years, 1 month ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 39357 byte(s)
Diff to previous 20882
From Gerri, Fabrizio, Andreas:
- Fix problems with readv and async reading
- Add possibility to set the cache parameters "per instance"
- Proper locate implementation

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 37412 byte(s)
Diff to previous 20721
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 20721 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 8 15:07:07 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 37412 byte(s)
Diff to previous 20682
in raw mode don't use the read-ahead cache.

Revision 20682 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 6 15:51:59 2007 UTC (7 years, 2 months ago) by ganis
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 37350 byte(s)
Diff to previous 20488
  Import branches/dev/proof r20654

  Summary:

  + Improvements
    - Add support for SSH SOCKS4 tunnelling; the local port for the tunnel can be specified
      in the master URL, e.g. TProof::Open("master/?tunnel:8000")
    - Add the possibility to plot the estimated instantaneous rate
    - Add "PROOF_ForceLocal" parameter to the !TPacketizerAdaptive; if set to 1, all the data
      are processed locally.
    - Add support for remote grep functionality while retrieving logs (needed by the forthcoming
      memory monitor)
  + Bug fixes
    - Several small fixes to revive the multi-master mode.
    - XrdProofdProtocol:
      - add missing lock to the client instance in SendMsg to avoid screwing up requests from
        workers on the same machine
         - lock the mutex of the requester when setting prorities
         - add notification during Reset
         - fix problem with the detection of the 'allow' directive
         - fix problem with the parsing of the return value from XrdProofServProxy::TerminateProofServ()
         - always use the effective user to retrieve info fom another server
           (XrdProofdManager::GetProofConn is now used)
         - fix possible dead-locks from debug notifications done after hard-killing a session
         - re-enable the garbage collector thread of the connection manager in XrdProofConn to
           fix a problem with closing physical connections;
         - fix a problem with !CleanupProofServ in the case of a non-privileged daemon running
           in multi-user mode
         - introduce a timeout when waiting for the startup of a 'proofserv'.
    - XrdProofConn: init mutex in the ctor; lock in SendRecv
    - XrdProofSched: add support for using the priorities defined in the group manager to define
      the number of workers for sessions
      - TProof:
         - Broadcast priorities to unique nodes only
         - timeout after 5 mins the initial Collect to avoid clients getting stuck at this stage
         - add support for generic timeout in Collect (disabled by default)
         - fix a problem with SendFile.
      - TXProofServ: add a call to !TProof::InterruptCurrentMonitor() in Terminate() to stop 
        infinite loops in Collect
      - TXSocket:
         - Implement a flag to interrupt a TXSocket while waiting for messages
         - Split the session creation timeout in 4 attempts: the total timeout is the same but
           it may circumvent occasional forking problems.
      - XROOTD: 
         - fix a potential (possibly accademic) memory leak in the client
         - fix a access permission problem with Kerberos ticket forwarding
         - fix bug preventing 'locate' to work properly
         - re-enable optimized 'locate'

Revision 20488 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 25 13:22:56 2007 UTC (7 years, 3 months ago) by brun
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 36975 byte(s)
Diff to previous 20094
From Fabrizio & Gerri:
Patch enabling asynchronous reading via XROOTD; a new method TFile::ReadBufferAsync
  is introduced which gets appropriately overritten in TXNetFile .
  The new feature can be enabled / disabled via the env 'TFile.AsyncReading' in .rootrc,
  the default being ON.
  The patch also cleans up the netx section in the system.rootrc, by removing
  very old unused variables and commenting and setting appropriate default
  values for the others (no additions, except for the comments).

Revision 20094 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 25 13:42:24 2007 UTC (7 years, 4 months ago) by ganis
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 33641 byte(s)
Diff to previous 20061
  Add support for XROOTD versions > 20070723 where some classes where renamed.

Revision 20061 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 22 08:03:50 2007 UTC (7 years, 4 months ago) by ganis
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 33547 byte(s)
Diff to previous 19826
  From Andreas:
  fix a bug affecting the check for staged files.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 33640 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 33693 byte(s)
Diff to previous 19564
remove :$ from tag line

Revision 19564 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 8 00:56:40 2007 UTC (7 years, 5 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 33703 byte(s)
Diff to previous 18900
From Gerri:
Andy has decided to rename and move some utilities classes inside XROOTD.
Some of them are used in ROOT too. In preparation for this I have tried to
remove as much as possible our dependence on that.
In TXNetFile there is an instance of XrdOucRecMutex which should become a
recursive TMutex. The patch attached does this.

Revision 18900 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 29 13:48:17 2007 UTC (7 years, 7 months ago) by ganis
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 33726 byte(s)
Diff to previous 18694
 Fix a problem affecting the setting of the default timeout.

Revision 18694 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 8 13:49:20 2007 UTC (7 years, 8 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 33832 byte(s)
Diff to previous 18350
From Andreas and me:
- take into account the static settings of opentimeout and
  only staged files. If you don't have the change in xrootd,
  the timeout does nothing - it just sets an environment
  variable. Indeed, xrootd just returns, if the requested waittime of
  the server is bigger than the timeout. For the moment,
  there is no better way, but it helps to avoid blocking and
  does what we need for analysis.
- removed TXNetFile::Size(), GetSize() should be used.

Revision 18350 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 19 14:45:20 2007 UTC (7 years, 10 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 33345 byte(s)
Diff to previous 17961
From Andreas and Gerri:
- TXNetFileStager: fix problem in setting the prefix
- TXNetFile: set kXR_new also for 'recreate'

Revision 17961 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 14 18:10:17 2007 UTC (7 years, 11 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 33355 byte(s)
Diff to previous 17402
From Gerri:
patch (from Andreas) which fixes a problem with setting the 'mkpath' flag
while opening a file.

Revision 17402 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 19 16:48:00 2007 UTC (8 years ago) by brun
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 33372 byte(s)
Diff to previous 16438
CVs been changed into a pure abstract interface.
The concrete implementation is in the new class TBufferFile.
All classes previously deriving from TBuffer derive now from TBufferFile, ie

  TBuffer  <- TBufferFile  <- TMessage
                           <- TBufferXML
                           <- TBufferSQL
                           <- TBufferSQL2

Because there are several problems with C++ operators overloading,
The I/O operators are defined in TBuffer. These are inline functions
calling C++ virtual functions defined in TBuffer and overloaded
by TBufferFile and all other derived classes when necessary.

The previous implementation of TBuffer.h included <vector> and Bytes.h.
The two include statements have been moved to TBufferFile.h. As a result the
compilation of the ROOT system is now slightly faster and a big bonus
is that changes in TBufferFile or Bytes.h will affect only TBufferFile
and will not force the recompilation of the entire system.
This change has some side-effects. If you assumed that include <vector>
was done by TBuffer.h, you may have to specify this include directly
in your class. This was the case for a few ROOT classes.


 : ----------------------------------------------------------------------

Revision 16438 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 5 14:56:25 2006 UTC (8 years, 3 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 33352 byte(s)
Diff to previous 16379
From Andreas:
TAlienFile inherits now directly from TXNetFile. This was possible by
introducing another factory function in TAlienFile (TAlienFile::Open),
moving some private to protected members and changing some function to
virtual in the parent classes. For the new factory function of the plubing
rootrc.in had to be modified.

Using the occasion, I have also implemented that, that
TAlienFile tries automatically to open any of the existing images of a
file, starting with the 'closest' one, if it fails with the next
replica aso. This is implemented right now only for reading. It is not
ought to do loadbalancing by random shuffling of the SE order.

There are some changes in TAlienCollection for Panos, to build the 'and'
of two TAlienCollections and to read evelist from the xml file.

Some memory leaks have been fixed in TAlienResult/TGridResult etc.

Finally to have a consistent file name (e.g. a TAlienFile has it's LFN as
a filename - eventhough it inherits from TXNetFile, which does not like
LFN's), I had to introduce another argument to TXNetFile (in the end with
a default value), to tell TXNetFile, that is has to open an xrootd url,
but it has to 'carry' another name. The normal functionality is not
touched by this.

Revision 16379 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 29 08:17:21 2006 UTC (8 years, 3 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 33291 byte(s)
Diff to previous 16230
From Gerri:
New XROOTD tarball implementing several optimizations and support for MD5
on-the-fly calculation in xrdcp.

Revision 16230 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 11 08:20:41 2006 UTC (8 years, 4 months ago) by brun
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 33325 byte(s)
Diff to previous 16217
Fix a compilation error on Solaris.

Revision 16217 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 7 09:27:25 2006 UTC (8 years, 4 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 33319 byte(s)
Diff to previous 15996
From Gerri:
TPacketizer.cxx:
  - Fix problem with object used after deletion (in print statement)

TProofServ.cxx:
- Send "start building" notification message before starting the build
  (shows that something is happening ...)

TXNetFile.cxx, TFileMerger.cxx
- Make creation of missing path parts optional (Andreas' suggestion):
  this can be set via the env "XNet.Mkpath" or on the fly adding "mkpath=1"
  to the options ("mkpath=0" switches it 'off' if XNet.Mkpath sets if to 'on').

Revision 15996 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 14 10:31:36 2006 UTC (8 years, 5 months ago) by brun
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 33202 byte(s)
Diff to previous 15991
From Leandro:
Fix portability problem on Windows.

Revision 15991 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 11 20:51:41 2006 UTC (8 years, 5 months ago) by brun
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 33219 byte(s)
Diff to previous 15989
Temporary fix for Windows. no access to static globals defined
in a class in a different dll

Revision 15989 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 11 20:25:52 2006 UTC (8 years, 5 months ago) by brun
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 33125 byte(s)
Diff to previous 15859
From Leandro:
Add new members and functions to be able to get the number of server calls
(without counting the calls to the cache)

Revision 15859 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 26 14:43:30 2006 UTC (8 years, 6 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 33050 byte(s)
Diff to previous 15745
From Gerri:
TXNetFile.cxx
  - include option kXR_mkpath when creating a new file

TFileMerger.cxx
  - use "NEW" instead of "RECREATE" when the destination file does not
    exist.

Revision 15745 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 9 16:59:47 2006 UTC (8 years, 6 months ago) by brun
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 32773 byte(s)
Diff to previous 15626
From Leo and Gerri,
Changes to support the new file/tree cache with xrootd (client side)

Revision 15626 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 29 22:15:37 2006 UTC (8 years, 6 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 32183 byte(s)
Diff to previous 15572
Several fixes in the new cache handling:
- TFile
   - GetBytesWritten() includes also the number of bytes still in the
     write cache
   - New method FlushWriteCache()
   - Call FlushWriteCache() also when closing files in raw mode
   - Call FlushWriteCache() also in Flush()
- TFileCacheWrite:
   - new method GetBytesInCache() returning bytes still in cache
     used by TFile::GetBytesWritten()
   - WriteBuffer() returns int iso bool, -1 write failure, 0 in case
     recusively called and 1 in case copied in cache
- TFileCacheRead:
   - ReadBuffer() returns int iso bool, -1 read failure, 0 in case not
    in cache and 1 in case read from cache.
- TTreeCache:
   - use int return type for ReadBuffer()
- TNetFile and TXNetFile:
   - call FlushWriteCache() in their Flush().

Revision 15572 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 27 14:36:28 2006 UTC (8 years, 6 months ago) by brun
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 32159 byte(s)
Diff to previous 15463
-Rename class TFilePrefetch -> TFileCacheRead
-Rename class TTreeFilePrefetch -> TTreeCache
-Add new class TFileCacheWrite that implements automatic caching
 when writing network files. This class replaces the previous class TCache.
-old TCache class deleted.
-TFileCacheRead can read buffers from the wite cache in TFileCacheWrite.
-As a result TFile::UseCache is obsolete. The function is kept for
  backward compatibility.
-Remove references to TCache from TXMLFile, TSQLFile, TwebFile, TNetFile
-remove pointer TFile::fCache
-Add pointers TFile::fCacheRead and TFile::fCacheWrite
-Remove members fMaxCacheSize and fPageSize from TChain

NOTE that it is recommended to
  rm -f base/src/*.d base/src/*.o
  rm -f net/src/*.d  net/src/*.o
  rm -f tree/src/*.d tree/src/*.o

Revision 15463 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jun 18 17:51:33 2006 UTC (8 years, 7 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 32186 byte(s)
Diff to previous 15390
Fix offset handling in case of prefetch with no special ReadBuffers(), like
RFIO, dCache, Chirp, etc.

Revision 15390 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 9 13:38:46 2006 UTC (8 years, 7 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 32309 byte(s)
Diff to previous 15359
cosmetics.

Revision 15359 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 7 10:34:37 2006 UTC (8 years, 7 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 32327 byte(s)
Diff to previous 15284
add file names to error messages in case file cannot be opened.

Revision 15284 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 1 09:50:28 2006 UTC (8 years, 7 months ago) by brun
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 32339 byte(s)
Diff to previous 15186
From Leandro:
Code cleanup and implementation of ReadBuffers in TXNetFile

Revision 15186 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 26 16:55:05 2006 UTC (8 years, 8 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 30809 byte(s)
Diff to previous 14884
From Andreas Peters:
- new virtual monitoring interface which will the base class for the
  MonaLisa plugin.
- new TAlienSystem class
- updated TAlien class

Revision 14884 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 1 20:13:42 2006 UTC (8 years, 8 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 30605 byte(s)
Diff to previous 14865
Cleanup code by using TUrl::GetHostFQDN().

Revision 14865 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 27 15:14:11 2006 UTC (8 years, 8 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 30603 byte(s)
Diff to previous 14717
From Gerri:
correct interpretation of XrdClient return codes that caused ROOT to think
the xrootd writing failed while it actually had succeeded.

Revision 14717 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 17 21:04:17 2006 UTC (8 years, 9 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 30540 byte(s)
Diff to previous 14577
From Gerri:
This is the new XROOTD tarball including:
   - support for Windows
   - support pluggable OLB-like protocols (needed by Jan)
   - several bug fixes relevant for asynchronous operations and PROOF.

Bertrand has run successfully a few minimal tests with TFile::Open and
TProof::Open from home to a server running on lxplus.

The patch contains the minimal set of mods to keep CVS compiling. It is
possible that you need some additional patch from Bertrand for the
Windows part. I guess it will be easy for him to send the remaining parts
once this is in.

Revision 14577 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 6 23:01:45 2006 UTC (8 years, 9 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 30403 byte(s)
Diff to previous 14493
From Gerri:
This patch implements 3 new static methods in TFile and the activation of
the asynchronous open mode in TXNetFile. There is a additional argument in
the main constructor of TXNetFile, hence the change in the plug-in entry in
rootrc.in.

The new methods in TFile are:

1. TFileOpenHandle *TFile::AsyncOpen(const char *fn, ...)

   This method accepts the same arguments as the stardard TFile::Open(...),
   submit the open request and returns an opaque object to be used to test
   the status of the request and to finalize the opening.

2. TFile *TFile::Open(TFileOpenHandle *)

   This new Open signature finalize the asynchronous open request

3. TFile::EAsyncOpenStatus TFile::GetAsyncOpenStatus(TFileOpenHandle *)

   This method returns the status of the asynchronous open request without
   blocking.

Revision 14493 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 30 16:39:10 2006 UTC (8 years, 9 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 27363 byte(s)
Diff to previous 14430
From Gerri:
fix of previous fix that broke the fallback from xrootd to rootd.

Revision 14430 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 27 14:33:48 2006 UTC (8 years, 10 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 27365 byte(s)
Diff to previous 14385
From Gerri:
The result of TFile::Init was not checked and this lead to an unexpected
behaviour in some cases.
Also, I've added the possibility (optional) to change the relevant envs on
the fly, which is useful in some cases.

Revision 14385 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 23 10:41:05 2006 UTC (8 years, 10 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 26909 byte(s)
Diff to previous 14336
From Gerri:
urgent fix for  TXNetFile to make the "recreate" option working again.

Revision 14336 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 20 21:43:44 2006 UTC (8 years, 10 months ago) by pcanal
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 26537 byte(s)
Diff to previous 13648
Reduce direct dependencies on TClass.h, TROOT.h and TStreamerInfo.h.
Warning:  This means that some file that relied on the indirect
inclusion of these header file might now fail to compile with
an error message mention that gROOT is no known or that TClass,
TROOT or TStreamerInfo is incompletely defined.  Simply add the
proper include directive.

Revision 13648 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 12 12:54:27 2005 UTC (9 years, 1 month ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 26518 byte(s)
Diff to previous 13592
From Gerri:
- last part of the major PROOF upgrade to support disconnect/reconnect
  features using the libXrdProofd.so xrootd plugin.
More on how to configure and run with xrootd/xproofd coming very soon.

Revision 13592 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 9 16:24:34 2005 UTC (9 years, 1 month ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 25860 byte(s)
Diff to previous 13044
From Andreas Peters:
severalmods and improvements in the AliEn plugin.

Revision 13044 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 27 16:36:38 2005 UTC (9 years, 2 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 25711 byte(s)
Diff to previous 12907
From Gerri:
This is the patch to import the new XROOTD and to enable TXNetSystem.

Three files:
  - 'adds-netx.tgz' contains the new class TXNetSystem;

  - 'xrootd-20051026-1709.src.tgz' is the tagged version of XROOTD

  - 'cvs-patch' the modifications needed to integrate the two things in ROOT:
    - config/rootrc.in:
      add plugin info for TXNetSystem
    - base/src/TSystem.cxx:
      fix the number of arguments in loading the TXNetSystem plugin
    - netx/inc/TXNetFile.h, .cxx:
      make a couple of generic auxilliary methods static so that they can be
      used by TXNetSystem
    - net/inc/TNetFile.h, .cxx:
      add Create method in TNetSystem, used by TXNetSystem to re-use the
      open connection in case of rootd
    - net/inc/TFTP.h, .cxx:
      additional 'TSocket *' argument in the constructor to allow re-using an
      open connection; default behaviour not changed
    - netx/inc/LinkDef.h:
      add pragma statement for TXNetSystem
    - netx/Module.mk:
      add support for building on an external XROOTD distribution
    - xrootd/Module.mk:
      changes to use the new version; still using the 'classic' configure
      script:
         will move to autoconf with the next patch

Revision 12907 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 6 09:38:48 2005 UTC (9 years, 3 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 25463 byte(s)
Diff to previous 12840
fixes for when reading and writing via the TCache. Problems occured when
moving to the xrootd Posix client.

Revision 12840 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 25 19:48:38 2005 UTC (9 years, 4 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 26045 byte(s)
Diff to previous 12650
put an Info() message behind gDebug.

Revision 12650 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 5 10:28:08 2005 UTC (9 years, 4 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 26014 byte(s)
Diff to previous 12402
from Andreas Peters:
I just added a function, GetEndpointUrl(), which allows you to find out
after redirection to which host you are redirected.

So, if you give a list of Alien URLs in a Dataset, the master can try to
open all files over the redirector and will end up at some hosts. It can
then replace the alien url with the url, where it could open the files.
This is cool, because you could set the connection time only to 2s and if
the master cannot open the file, it will just skip it in the dataset.
Or the master would trigger the staging over xroootd ... aso ...
so, if you could put this in soon, would be cool.

Revision 12402 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 28 16:27:46 2005 UTC (9 years, 5 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 25884 byte(s)
Diff to previous 12366
From Gerri:
This patch removes any default setting for the lists of allowed domains
for connections and redirection, so that the defaults of XrdClient ("*")
are used.
In this way one needs to specify the lists in .rootrc only if (s)he wants
to restrict to some specific domain, which I believe is a better default.

Revision 12366 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 21 23:49:08 2005 UTC (9 years, 6 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 26182 byte(s)
Diff to previous 12360
cosmetics.

Revision 12360 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 21 14:08:06 2005 UTC (9 years, 6 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 26186 byte(s)
Diff to previous 12357
From Gerri:
Fix a bug related to a change I did while cleaning the patch (I know,
one should never do that ...) to call ProofAuthSetup only for
PROOF: it relied on TApplication::ApplicationName() which returns an
empty string in PROOF. I've changed to use Argv(0) which works
much better.

The second had to do with the transfer of the Authentication buffer
when the M->S authentication was ugid.

Revision 12357 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 20 15:13:51 2005 UTC (9 years, 6 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 26189 byte(s)
Diff to previous 11775
From Gerri:
Use posix xrootd interface in TXNetFile. Also move to the latest xroot tar
file.

Revision 11775 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 12 12:25:26 2005 UTC (9 years, 8 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 36272 byte(s)
Diff to previous 11712
From Andreas:
small modifications to support file envelopes (i.e. file + authentication
information). This is fully backward compatibly in case no optional
information is specified.

Revision 11712 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 1 10:00:07 2005 UTC (9 years, 8 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 36230 byte(s)
Diff to previous 10816
From Gerri:
I've just realized that a patch fixing a couple of memory leaks and
a couple of inconsistencies in error treatment in TXNetFile and
TXNetConn was never applied.

Revision 10816 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 16 19:23:18 2004 UTC (10 years, 1 month ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 35651 byte(s)
Diff to previous 10724
From Gerri:
Changes to support aysnchronous reading in TXNetFile and general netx
code cleanup. Asynchronous reading works properly with xrootd and all
code has been valgrinded.

netx/inc/LinkDef.h
 - drop class TXMutexLocker (not needed, duplicating R__LOCKGUARD)

netx/inc/TXDebug.h
 - remove definition of class TXDebug (not needed)
 - name enum of debug levels
 - define global gXDebugLevel

netx/inc/TXConnectionMgr.h
 - make constructor public
 - add new public method Init to complete initialization
 - remove static member fgInstance
 - remove static public methods Instance and Reset
 - several small fixes

netx/inc/TXInputBuffer.h
 - several changes mostly for the asynchronous mode

netx/inc/TXNetConn.h
 - add defintions and methods for static hook to TXConnectionMgr
 - remove definition of ConnectionManager

netx/src/TXNetConn.cxx
 - add methods for static hook to TXConnectionMgr
 - use fgConnectionManager instead of ConnectionManager
 - reuse of opened connection when server is rootd
 - remove "TXDebug::" in debug level checks

netx/src/TXNetFile.cxx
 - reuse of opened connection when server is rootd
 - remove "TXDebug::" in debug level checks

netx/inc/TXPhyConnection.h
 - several changes mostly for the asynchronous mode
 - new method SaveSocket to save the TSocket part
   of TXSocket when talking to a rootd

netx/inc/TXSocket.h
 - drop references to TMonitor and TSemaphore (not needed)

netx/src/TXConnectionMgr.cxx
 - use R__LOCKGUARD instead of TXMutexLocker
 - add small class TXConnectionMgrInit providing TXNetConn
   with a hook to a static initialization of TXConnectionMgr
 - add static init of TXConnectionMgrInit
 - remove method Instance() and Reset()
 - move constructor operations in a new method Init to be
   called ater instantiation
 - remove "TXDebug::" in debug level checks

netx/src/TXInputBuffer.cxx
 - several changes mostly for the asynchronous mode
 - remove "TXDebug::" in debug level checks

netx/src/TXMessage.cxx
 - improved error logging
 - remove "TXDebug::" in debug level checks

netx/src/TXPhyConnection.cxx
 - several changes mostly for the asynchronous mode
 - new method SaveSocket to save the TSocket part
   of TXSocket when talking to a rootd
 - remove "TXDebug::" in debug level checks

netx/src/TXSocket.cxx
 - use new method TSocket::Select instead of TMonitor
 - remove "TXDebug::" in debug level checks

netx/inc/TXUnsolicitedMsg.h
 - aesthetics

netx/src/TXAbsNetCommon.cxx
 - remove "TXDebug::" in debug level checks

netx/src/TXLogConnection.cxx
 - remove "TXDebug::" in debug level checks

netx/src/TXUrl.cxx
 - remove "TXDebug::" in debug level checks

Revision 10724 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 8 14:52:48 2004 UTC (10 years, 1 month ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 35392 byte(s)
Diff to previous 10722
no need to explicitly include RVersion.h.

Revision 10722 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 8 14:34:18 2004 UTC (10 years, 1 month ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 35414 byte(s)
Diff to previous 10508
From Gerri:
remove several unneeded derivations from TObject. This also solves a
thread deadlock problem since these objects are not anymore deleted via
TStorage::ObjectAlloc() which tries to lock the CINT mutex, which could
already be locked by another netx thread.

Revision 10508 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 9 19:55:41 2004 UTC (10 years, 2 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 35392 byte(s)
Diff to previous 9810
fix printing of ROOT version number.

Revision 9810 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 20 23:26:05 2004 UTC (10 years, 5 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 35358 byte(s)
Diff to previous 9808
remove large number of Unix specific system includes that are not needed
anymore since machine independent versions of ROOT are now used (TSystem,
TSocket, TThread, etc.).

Revision 9808 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 20 22:16:33 2004 UTC (10 years, 5 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 35418 byte(s)
Diff to previous 9736
add cvs identification strings and fix some include statements (change
from <> to "" for ROOT includes).

Revision 9736 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu Aug 12 11:35:02 2004 UTC (10 years, 5 months ago) by rdm
Original Path: trunk/netx/src/TXNetFile.cxx
File length: 35780 byte(s)
client code to access the xrootd, eXtended ROOT daemon. Code
provided by Alvise Dorigo, Fabrizio Furano from INFN Padova working
for the BaBar collaboration.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9