Log of /trunk/net/netx/inc/TXNetSystem.h
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: 4919 byte(s)
Diff to
previous 41574
- 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
30170 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 15 13:35:35 2009 UTC (5 years, 4 months ago) by
rdm
File length: 5003 byte(s)
Diff to
previous 23091
From Gerri:
Fixes for path locality checks:
- Retrieve the correct local file name (inclusive of prefix) in TFile::Open()
- Allow for protocol-driven implementations of TSystem::IsPathLocal()
- Implement TXNetSystem::IsPathLocal() checking for the type of server: the
locality check is applied only if the server is a data-server (redirectors
do not serve files and could redirect to a real remote server even if running
on the local machine)
- Check locality of the path when initializing a TFileStager: this allows to
avoid blocking when opening a local path with "root://" protocol
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: 4949 byte(s)
Diff to
previous 21913
moving the follwing directories to "net":
alien, auth, glite, globusauth, krb5auth, ldap, monalisa, net, netx,
rootd, rpdutils, srputils, xrootd
Revision
18640 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu May 3 11:52:09 2007 UTC (7 years, 8 months ago) by
rdm
Original Path:
trunk/netx/inc/TXNetSystem.h
File length: 4367 byte(s)
Diff to
previous 18194
From Gerri:
netx/src/TXNetSystem.h, .cxx
- New method Prepare for bulk prepare requests
- Improved error logging
- Instantiate XrdClientAdmin via the new static interface to optimize
the connections
net/inc/TFileStager.h, .cxx
- Use TCollection instead of TList
- Add static method GetPathName(TObject *o) to extract the path name
from supported objects TFileInfo, TUrl, TObjString
netx/inc/TXNetFileStager.h, .cxx
- Use TCollection instead of TList
xrootd-20060928-1600.src.tgz
- Improved Admin interface functionality
Revision
18194 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 8 12:09:09 2007 UTC (7 years, 10 months ago) by
rdm
Original Path:
trunk/netx/inc/TXNetSystem.h
File length: 4134 byte(s)
Diff to
previous 17962
From Gerri:
This patch introduces TFileStager::Locate and uses it to improve lookup
performances in TDSetElement::Lookup and TChain::Lookup.
There is a further optimization to be done in XrdClientAdmin under discussion
with Fabrizio. But that should have no (or very little) impact on this
implementation.
Revision
17962 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Feb 14 18:25:22 2007 UTC (7 years, 11 months ago) by
rdm
Original Path:
trunk/netx/inc/TXNetSystem.h
File length: 4016 byte(s)
Diff to
previous 16473
From Gerri and Andreas Peters:
provide a new file stager interface via an abstract class TFileStager,
placed in 'net', with TXNetFileStager as concrete implementation in netx.
The plug-in manager takes care of loading libNetx (or any other future
stager plug-in, like SRM (?)).
The Stage(TList *) is currently implemented in net/src/TFileStager.cxx
as it goes through the list issuing the requests one by one. I have,
however, made it virtual so that, as soon as the bug with block submission
in xrootd is fixed, we can implement it in TXNetFileStager.
To issue a stage (prepare) request one has to do the following
root[] stg = TFileStager::Open("root://lxb6046.cern.ch")
root[] stg->Stage("/alice/sim/2006/pp_minbias/121/168/root_archive.zip")
root[] stg->IsStaged("/alice/sim/2006/pp_minbias/121/168/root_archive.zip")
the protocol/host specification is cached at initialization so it is not
needed anymore for the commands; but it will not harm: this will also work:
root[] stg = TFileStager::Open()
root[] stg->Stage("root://lxb6046.cern.ch//alice/sim/2006/pp_minbias/121/168/root_archive.zip")
root[] stg->IsStaged("root://lxb6046.cern.ch//alice/sim/2006/pp_minbias/121/168/root_archive.zip")
Revision
16473 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat Oct 7 18:06:11 2006 UTC (8 years, 3 months ago) by
rdm
Original Path:
trunk/netx/inc/TXNetSystem.h
File length: 3869 byte(s)
Diff to
previous 15642
From Gerri:
This is an optimization in TXNetSystem to avoid recording (and looping over)
too many helpers in TSystem::fHelper.
After this change, only the helper to the redirector is recorded, and the right
connection is searched inside.
Also added:
- an implementation of Unlink, which is useful to delete files on the cluster
(activation of helper search in TUnixSystem::Unlink and TWinNTSystem::Unlink)
Does not work (yet) with dirs, but this is a server side problem; Andy aware.
- a bit in EFileModeMask to flag 'offline' files, i.e. files existing but
(temporarly) not available ... xrootd has the concept, for files to be
staged, for example; the bit 0110000 was unused and it did fit, conceptually.
Revision
14282 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 16 09:08:09 2006 UTC (8 years, 10 months ago) by
rdm
Original Path:
trunk/netx/inc/TXNetSystem.h
File length: 3277 byte(s)
Diff to
previous 14074
From Gerri:
Latest tag of xrootd with the new features needed for PROOF.
The changes in the various classes are mostly because the string class
has been renamed to XrdOucString instead of XrdClientString.
The changes in XrdProofd to use the new features in here will follow shortly.
Revision
13044 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Thu Oct 27 16:36:38 2005 UTC (9 years, 2 months ago) by
rdm
Original Path:
trunk/netx/inc/TXNetSystem.h
File length: 3246 byte(s)
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
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.