Log of /trunk/net/netx/src/TXNetFile.cxx
Parent Directory
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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.