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

Log of /trunk/net/netx/inc/TXNetFile.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: 5926 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: 6004 byte(s)
Diff to previous 34444
From Gerri:
removing built-in xrootd, from now on use external xrootd.

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: 5998 byte(s)
Diff to previous 33291
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: 5930 byte(s)
Diff to previous 30949
   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 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: 5844 byte(s)
Diff to previous 24662
    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 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: 5802 byte(s)
Diff to previous 23091
store netops argument for later re-use in ReOpen().

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: 5833 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/inc/TXNetFile.h
File length: 5833 byte(s)
Diff to previous 21665
   TXNetFile:
    - add possibility to set the max number of retries on the fly
   TXNetSystem:
    - fix a return code
    - adjust some printouts

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/inc/TXNetFile.h
File length: 5827 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/inc/TXNetFile.h
File length: 5697 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/TXNetFile.h
File length: 5642 byte(s)
Diff to previous 20488
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 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/inc/TXNetFile.h
File length: 5642 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/inc/TXNetFile.h
File length: 5342 byte(s)
Diff to previous 19826
  Add support for XROOTD versions > 20070723 where some classes where renamed.

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/TXNetFile.h
File length: 5283 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/TXNetFile.h
File length: 5332 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/inc/TXNetFile.h
File length: 5342 byte(s)
Diff to previous 18694
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/inc/TXNetFile.h
File length: 5346 byte(s)
Diff to previous 18056
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 18056 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 22 11:51:50 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/netx/inc/TXNetFile.h
File length: 5432 byte(s)
Diff to previous 16438
From Federico:
Some small mods for effc++

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/inc/TXNetFile.h
File length: 5315 byte(s)
Diff to previous 15390
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 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/inc/TXNetFile.h
File length: 5250 byte(s)
Diff to previous 15284
cosmetics.

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/inc/TXNetFile.h
File length: 5246 byte(s)
Diff to previous 14865
From Leandro:
Code cleanup and implementation of ReadBuffers in TXNetFile

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/inc/TXNetFile.h
File length: 5164 byte(s)
Diff to previous 14577
From Gerri:
correct interpretation of XrdClient return codes that caused ROOT to think
the xrootd writing failed while it actually had succeeded.

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/inc/TXNetFile.h
File length: 5160 byte(s)
Diff to previous 14430
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/inc/TXNetFile.h
File length: 4769 byte(s)
Diff to previous 13044
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 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/inc/TXNetFile.h
File length: 4748 byte(s)
Diff to previous 12357
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 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/inc/TXNetFile.h
File length: 4592 byte(s)
Diff to previous 11712
From Gerri:
Use posix xrootd interface in TXNetFile. Also move to the latest xroot tar
file.

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/inc/TXNetFile.h
File length: 5681 byte(s)
Diff to previous 9808
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 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/inc/TXNetFile.h
File length: 5674 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/inc/TXNetFile.h
File length: 5600 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