Log of /trunk/net/netx/inc/TXNetFile.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: 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
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
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
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
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
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
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
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.