[root] / trunk / net / netx / inc / TXNetSystem.h Repository:
ViewVC logotype

Log of /trunk/net/netx/inc/TXNetSystem.h

Parent Directory Parent Directory


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

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 41574 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 25 13:42:03 2011 UTC (3 years, 3 months ago) by ganis
File length: 5082 byte(s)
Diff to previous 30170
Remove residual usage of old xrootd-related flow control variables

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 21913 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 29 22:39:32 2008 UTC (6 years, 11 months ago) by ganis
Original Path: trunk/netx/inc/TXNetSystem.h
File length: 4949 byte(s)
Diff to previous 21234
  From Anna Kreshuk and me:
  - Fix problem with GetDirEntry: the entry object was going out-of-scope
    so that the returned string was meaningless.
  - Reset the list if dir entries in FreeDirectory.

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/inc/TXNetSystem.h
File length: 4896 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/inc/TXNetSystem.h
File length: 4307 byte(s)
Diff to previous 19826
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 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/inc/TXNetSystem.h
File length: 4307 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/inc/TXNetSystem.h
File length: 4357 byte(s)
Diff to previous 18640
remove :$ from tag line

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 15642 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 30 14:35:03 2006 UTC (8 years, 6 months ago) by rdm
Original Path: trunk/netx/inc/TXNetSystem.h
File length: 3314 byte(s)
Diff to previous 14282
From Gerri:
There were still cases where end point precise info was not correctly recorded.

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 14074 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 21 16:57:12 2006 UTC (8 years, 11 months ago) by brun
Original Path: trunk/netx/inc/TXNetSystem.h
File length: 3288 byte(s)
Diff to previous 13044
From Gerri:
Fix problem due to the attempt of using a deleted object in
TNetSystem::~TNetSystem.

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9