Log of /trunk/net/net/src/TNetFile.cxx
Parent Directory
Revision
48992 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 28 15:26:26 2013 UTC (21 months, 3 weeks ago) by
rdm
File length: 36123 byte(s)
Diff to
previous 38221
From Lifeng Sun:
The attached patchset fixes a bunch of typo in the source:
0001-succes-success.patch
0002-preceed-preced.patch
0003-informations-information.patch
0004-childs-children.patch
0005-avaliable-available.patch
0006-writeable-writable.patch
0007-comand-command.patch
0008-unkown-unknown.patch
0009-wierd-weird.patch
0010-wheter-whether.patch
0011-unecessary-unnecessary.patch
0012-splitted-split.patch
0013-registerd-registered.patch
0014-recieve-receive.patch
0015-processsing-processing.patch
0016-ouput-output.patch
0017-mutiple-multiple.patch
0018-lenght-length.patch
0019-interupted-interrupted.patch
0020-independant-independent.patch
0021-inconsistant-inconsistent.patch
0022-expresion-expression.patch
0023-explicitely-explicitly.patch
0024-enviroment-environment.patch
0025-deafult-default.patch
0026-continous-continuous.patch
0027-completly-completely.patch
0028-commited-committed.patch
0029-choosen-chosen.patch
0030-backgroud-background.patch
0031-auxilliary-auxiliary.patch
0032-authentification-authentication.patch
0033-appropiate-appropriate.patch
0034-an-other-another.patch
0035-environement-environment.patch
0036-targetting-targeting.patch
0037-suppported-supported.patch
0038-paramater-parameter.patch
Revision
38221 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Feb 25 10:26:55 2011 UTC (3 years, 10 months ago) by
rdm
File length: 36125 byte(s)
Diff to
previous 34444
From Gerri:
Few fixes to improve/reduce verbosity in case of connection broken or
reset by peer
- In TSocket:
- Add bit kBrokenConn and set it when the connection is broken or reset
by peer
- Add missing checks of return codes from Send and Recv operations
- In CreateAuthSocket, add an optional argument to extract the error code
in case of failure; set the error to kErrConnectionRefused when the
failure is due to a broken or reset by peer connection.
- In TPSocket:
- Add bit kBrokenConn and set it when the connection is broken or reset
by peer
- Add missing checks of return codes from Send and Recv operations
- In the main constructor, fix a bug causing a double connection attempt
in case of failure
- In TNetFile:
- Extract a more correct error code via CreateAuthSocket instead of
setting the generic authentication error code
- Fix a typo in a error message
- In TNetSystem:
- Fix a bug in ConsistentWith causing always a new helper (and connection)
instance to be created when repeating the request with the same path.
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: 35885 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
30749 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Oct 15 16:33:04 2009 UTC (5 years, 3 months ago) by
brun
File length: 36041 byte(s)
Diff to
previous 30360
From Matthew Strait:
This patch fixes the spelling of "function" in the root source code
and documentation, which is misspelled (sometimes as part of larger
"function"-based words) at least 152 times:
* "funciton" 48 times
* "funcion" 36 times
* "funtion" 23 times
* "fucntion" 17 times
* "functionn" 6 times
* "fuction" 6 times
* "fuunction" 4 times
* "functioin" 3 times
* "fonction" 3 times
* "funstion" twice
* "fnuction" once
* "functiom" once
* "functio" once
* "funcition" once
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: 33932 byte(s)
Copied from:
trunk/net/src/TNetFile.cxx revision 23090
Diff to
previous 23027
moving the follwing directories to "net":
alien, auth, glite, globusauth, krb5auth, ldap, monalisa, net, netx,
rootd, rpdutils, srputils, xrootd
Revision
16198 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 4 00:45:03 2006 UTC (8 years, 4 months ago) by
rdm
Original Path:
trunk/net/src/TNetFile.cxx
File length: 33220 byte(s)
Diff to
previous 15998
From Gerri and me:
- don't use TUrl to strip off "file:" protocol string from file names
as this was also striping off everything after # and ? tokens, making
it impossible to e.g. stat local file names like .#bla#.
- make copy ctor and assignment operator private and not implemented.
Revision
15990 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 11 20:33:18 2006 UTC (8 years, 5 months ago) by
brun
Original Path:
trunk/net/src/TNetFile.cxx
File length: 33808 byte(s)
Diff to
previous 15755
From Leandro:
Reduces the memory footprint by transfering a big block produced in a
readv call in smaller chunks (the size is specified by the client).
Since the transfers are in a non-blocking mode it should also improve
the performance by reading the (future) disk data at the same as sending
the actual one.
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/net/src/TNetFile.cxx
File length: 33153 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/net/src/TNetFile.cxx
File length: 33129 byte(s)
Diff to
previous 15482
-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
15384 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jun 9 01:21:43 2006 UTC (8 years, 7 months ago) by
rdm
Original Path:
trunk/net/src/TNetFile.cxx
File length: 33269 byte(s)
Diff to
previous 15359
added support in TNetFile and TWebFile ReadBuffers() for reading from
ZIP archive files. Also changed the mod_root2.c plugin to be able to
return the file size needed for finding the ZIP directory. ROOT zip files
published via Apache need to have the extension .rzip since .zip is already
handled by another handler.
Revision
15265 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed May 31 15:26:06 2006 UTC (8 years, 7 months ago) by
brun
Original Path:
trunk/net/src/TNetFile.cxx
File length: 35053 byte(s)
Diff to
previous 15176
From Leandro Franco:
Implement new protocol in rootd and TNetFile to:
get multiple buffers from the specified list of offsets and lengths from
the currently open file and send it to the client in a single buffer.
Revision
15134 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue May 23 04:47:42 2006 UTC (8 years, 8 months ago) by
brun
Original Path:
trunk/net/src/TNetFile.cxx
File length: 31129 byte(s)
Diff to
previous 14918
From Federico Carminati:
"I have implemented all copy and equal operators needed to silence all
warnings in AliRoot, as requested. I have implemented shallow copies as
would do the default operators synthetized by the compiler.
Most operators are protected. If users complain, you just have to move
them into the public area, but class derivation is of course supported.
It has been a terrible job, I have modified 278 files, but the changes
are backward compabile, and this goes a long way to permitting user to
use the effc++ flag with root headers."
Revision
14740 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Apr 18 14:23:20 2006 UTC (8 years, 9 months ago) by
rdm
Original Path:
trunk/net/src/TNetFile.cxx
File length: 30162 byte(s)
Diff to
previous 14111
From Gerri:
move non-persistent member fUrl that was in all derived classes to
TFile. It is accessable via the new method GetEndpointUrl() and will
return in the case of xrootd files the url of the node really having
the file (and not the generic redirector host id).
Also added code to better handle the case of many concurrent async
opens (keep a list of async open handlers).
Revision
14111 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sun Feb 26 16:13:38 2006 UTC (8 years, 10 months ago) by
rdm
Original Path:
trunk/net/src/TNetFile.cxx
File length: 29069 byte(s)
Diff to
previous 14074
From Gerri and Jan:
TXNetSystem::MakeDirectory:
send request for the path name and not for the full URL
TXNetSystem::ConsistentWith:
redirect to TNetSystem::ConsistentWith instead of TSystem::ConsistentWith
TNetSystem::ConsistentWith:
check also the port number
TNetSystem::InitRemoteEntity (new)
fill in user, host, port with the appropriate checks
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/net/src/TNetFile.cxx
File length: 27703 byte(s)
Diff to
previous 12650
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/net/src/TNetFile.cxx
File length: 27476 byte(s)
Diff to
previous 11917
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
10798 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Dec 15 17:48:03 2004 UTC (10 years, 1 month ago) by
rdm
Original Path:
trunk/net/src/TNetFile.cxx
File length: 27430 byte(s)
Diff to
previous 10666
From Gerri:
Purpose:
- Add new Select functionality in TMonitor and TSocket
This functionality will be used for asyncronous threaded
reader of TXNetFile.
- Add support for creation of a TNetFile using an existing
connection (reuse connection that was already opened by
TXNetFile while remore side is rootd and not xrootd).
net/inc/TMonitor.h
- add new private member Bool_t fMainLoop to tell if the
monitoring has to be on the main loop or outside.
- add argument 'Bool_t mainloop' to the constructor, default kTRUE
- add new method SetInterest() to change interest mask of
a socket
- add new Select() method for the out-of-main-loop case
net/src/TMonitor.cxx
- add implemention for the new methods.
net/inc/TNetFile.h
- add new signature for method Create() to open a TNetFile
using an existing connection (used to optmize the rootd
fall back support in TXNetFile).
net/src/TNetFile.cxx
- add support for new Create()
net/inc/TPSocket.h
- add new constructor to setup a parallel socket using
an existing connection (used to optmize the rootd
fall back support in TXNetFile).
- add support for new constructor in method Init()
net/src/TPSocket.cxx
- add implentation of new ctor and related modifications
in Init().
net/inc/TSocket.h
- add new method Select() to monitor the socket outside
the main event loop
- add new method SetDescriptor() used in TXSocket to save
the TSocket part
- add new member fTcpWindowSize and corresponding getter
for use in the new TPSocket ctor
- add a 'TSocket *' argument to CreateAuthSocket (default 0)
to allow re-using of an existing connection
net/src/TSocket.cxx
- add new method Select() to monitor the socket outside
the main event loop
Revision
10316 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Oct 15 16:55:07 2004 UTC (10 years, 3 months ago) by
rdm
Original Path:
trunk/net/src/TNetFile.cxx
File length: 26181 byte(s)
Diff to
previous 9699
introduce a more complete TSystem::GetPathInfo() method that takes a
new FileStat_t structure as argument. This FileStat_t structure mimics the
common struct stat. This allows for full support of the file mode bits
(via the new enum EFileModeMask and the inline function R_ISDIR(), R_ISCHR(),
R_SIBLK(), R_ISREG(), R_ISLNK(), R_ISFIFO() and R_ISSOCK()).
The TSystem derived helper clsses for the remote file access protocols
have been updated too (all already supported struct stat in their POSIX
layers). Modified rootd to also support FileStat_t. With this change we
can get rid of machine dependent file permission checking code in several
places, notably in the TGFSContainer, which now can correctly display
file attributes for remote protocols.
Revision
9420 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 7 23:25:33 2004 UTC (10 years, 6 months ago) by
rdm
Original Path:
trunk/net/src/TNetFile.cxx
File length: 27077 byte(s)
Diff to
previous 9385
two new classes to read archive files. TArchiveFile is an abstract class
which uses the plugin manager to load a concrete archive reader. Currently
the TZIPFile class provides a ZIP archive reader. One can also imagine a
TTARFile to read tar files. We advice however to use ZIP archives since they
allow direct access to all its members via a directory structure which
is part of the file. The archive file access has been integrated into TFile
which also functions as byte reader to access the archive. This has the
enormous benefit that archives can be accessed using all the existing
remote file access classes, like TNetFile, TRFIOFile, TCastorFile, etc.
When creating ZIP files containing ROOT files make sure that the ROOT files
are not compressed since normally they are already ZIP compressed. on Linux
one can create a ZIP archive doing:
zip -n root multi file1.root file2.root file3.root ...
which creates the archive multi.zip, with all files ending with .root
not compressed.
The ROOT files in an archive can be simply accessed like this:
TFile *f = TFile::Open("multi.zip#file2.root")
or
TFile *f = TFile::Open("root://pcsalo/multi.zip#2")
where the second form opens the 3rd ROOT file in the archive via rootd.
A TFile can also be used to just browse an archive file, like:
TFile *f = TFile::Open("multi.zip")
f->GetArchive->Print()
A TBrowser interface will follow shortly.
The core ZIP reading code has been kindly provided by Lassi Tuura.
Revision
9385 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sun Jul 4 17:48:43 2004 UTC (10 years, 6 months ago) by
rdm
Original Path:
trunk/net/src/TNetFile.cxx
File length: 26863 byte(s)
Diff to
previous 9377
From Gerri:
1. TSystem.cxx, TNetFile.cxx:
two checks in TSystem::ConsistentWith and TNetSystem::ConsistentWith
were wrong in such a way to compensate each other;
2. rpdutils.cxx:
RpdCheckHostsEquiv:
missing extension in renaming .rhosts made permission
check ineffective
RpdCheckAuthAllow:
an initialization flag setting was misplaced
3. globus.cxx, proofd.cxx
force null termination of std::string's after string::insert
I have seen the problem with gcc2.96 (also a guy that contacted
me saw the same): the new length is ok, but the newly allocate
memory is not reset; gcc2.95 should also have the problem, at least
looking at the gcc code, while for 3.x the STL implementation
seems completely re-written.
Revision
9377 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 2 18:36:57 2004 UTC (10 years, 6 months ago) by
rdm
Original Path:
trunk/net/src/TNetFile.cxx
File length: 26780 byte(s)
Diff to
previous 9200
From Gerri:
Patch to support 'system' functionality via the rootd daemon, so one
can get file stat and access info and directory browsing via rootd.
- TNetFile.h, .cxx
New class TNetSystem inheriting from TSystem.
- net/inc/LinkDef.h
Added #pragma for TNetSystem
- TFTP.h, .cxx
New methods AccessPathName, GetPathInfo, GetDirEntry,
OpenDirectory, FreeDirectory
- TSystem.h, .cxx
New method ConsistentWith to allow different matching
criteria in the search for existing helpers (method
FindHelper)
- rootd.cxx
New functions RootdAccess, RootdFreeDir, RootdGetDirEntry,
RootdOpenDir
- MessageTypes.h
New messages kROOTD_OPENDIR, kROOTD_FREEDIR, kROOTD_DIRENTRY,
kROOTD_ACCESS
Revision
9182 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sun Jun 13 16:26:36 2004 UTC (10 years, 7 months ago) by
rdm
Original Path:
trunk/net/src/TNetFile.cxx
File length: 19528 byte(s)
Diff to
previous 9020
From Maarten and Kristjan Gulbrandsen:
PROOF and file I/O performance monitoring framework. The TVirtualPerfStats
abstract class allows adding monitoring events in base classes (TFile and
TNetfile). The performance monitoring info allows detailed study of PROOF
performance (which files accessed by which slaves, latency, read/write times,
packet size, etc.). The result is send back to the client in the form of a
memory based TTree.
Remove TProofStats.h and TProofStats.cxx, .d, .o from proof/inc and src.
Revision
8239 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Feb 19 00:11:19 2004 UTC (10 years, 11 months ago) by
rdm
Original Path:
trunk/net/src/TNetFile.cxx
File length: 19178 byte(s)
Diff to
previous 7944
Big authentication patch by Gerri:
General purpose:
Add support for 'authenticated' sockets on client side
and prepare for support of server authenticated sockets.
Main changes:
o TSocket, TPsocket:
Added support of 'authenticated' sockets: authentication
is delegated to TSocket by calling a static method
CreateAuthSocket() returning a TSocket*.
TSocket is now the only class calling TAuthenticate.
o TFTP, TNetFile, TSlave:
modified to cope with new socket authentication scheme.
o TAuthDetails replaced by TSecContext containing:
- local authentication info
- expiration time
- pointer to a security context for the method (if any)
- information for cleanup (via TSecContextCleanup)
o A list of valid TSecContext has been added to TROOT,
accessible via gROOT->GetListOfSecContexts().
o THostAuth rewritten using arrays to avoid multiple use
of 'new'; functionality extended by the addition of
several new methods.
o TAuthenticate:
- Loading of information from .rootauthrc has been optimized;
this allowed to simplify method signatures and drop several
methods. Also collection and transmission of authentication
information from TSlave to TProofServ gets simplified by the
new scheme.
- Added support for server dependent directives in .rootauthrc
- Added check for changes in .rootauthrc each time a new
TAuthenticate is instantiated, so that changes in the file
are picked-up interactively.
- Checking for an existing TSecContext (previously TAuthDetails)
has been improved
- Improved diagnostics for SshAuth
- Enlarged support for authentication method indication in protocol:
UsrPwd: rootup/proofup
SRP: roots/proofs (already supported)
Krb5: rootk/proofk (already supported)
Globus: rootg/proofg
SSH: rootsh/proofsh
UigGid: rootug/proofug
o GlobusAuth.cxx, Krb5Auth.cxx, SRPAuth.cxx
- Adapted to new class TSecContext
- Added support for improved search for reusable TSecContext
- Drop globals used to store established security contexts
(saved in TSecContext) and related methods
o Automatic creation of <RootDir>/etc/system.rootauthrc from
compilation flags; this has priority on old envs
'Rootd.Authentication' and 'Proofd.Authentication' and is
superseded by $HOME/.rootauthrc
o Automatic creation of <RootDir>/etc/system.authdaemonrc from
compilation flags; this is superseded by $HOME/.rootauthrc
o rpdutils:
- several almost identical methods moved in from rootd/proofd
- several new methods to simplify manipulation of the
authentication tab file
- moved (and improved) check for running of sshd in RpdSshAuth,
performed only in case of failure (to avoid spurious messages
printed by sshd in /var/log/messages)
o proofd.cxx, rootd.cxx
- increased protocol version
- all initialization stuff (included authentication and
login) done via RpdInitSession
- postpone opening of parallels sockets after authentication
(to solve problem of Kerberos/Globus authentication with
parallel sockets)(rootd)
- Fixed problem with kerberos and globus authentication in rootd
with parallel sockets.
Revision
7810 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 30 13:16:51 2003 UTC (11 years ago) by
brun
Original Path:
trunk/net/src/TNetFile.cxx
File length: 20600 byte(s)
Diff to
previous 7711
Mega patch to add support for large files (bigger than 2 GBytes)
----------------------------------------------------------------
==========>NEW VERSION 4.00/00 <===========
Because this new version has a considerable number of changes,
and new important additions by Philippe are scheduled for the coming days
we are starting a new major version 4.
-Support for large files
-Automatic schema evolution for foreign classes
-New data type Double32_t
Large files are currently tested only under Linux with gcc3.2.
Support for other systems will be gradually added in the coming days.
By default under Linux, files are created with the option LARGEFILE.
Note that when creating a Tree, the default maximum size for a Tree
is set to 1.9 GBytes. You can change this default value by calling
TTree::SetMaxTreeSize(Long64_t maxsize)
The implementation of this new feature has required changes in many places.
The files produced by this new version can still be read by old ROOT versions
if their size if smaller than 2 GBytes. And obviously, the new version
can digest old ROOT files.
WARNING: note the following backward incompatibility:
-TSystem::GetPathInfo has a new signature: (also TUnixSystem, TWinNTSystem, etc)
old: GetPathInfo(const char *path, Long_t *id, Long_t *size, Long_t *flags, Long_t *modtime);
new: GetPathInfo(const char *path, Long_t *id, Long64_t *size, Long_t *flags, Long_t *modtime);
-TFile::SysSeek and TFile::SysStat have a new signature (also TNetFile, TWebFile, etc)
old: Int_t SysSeek(Int_t fd, Long_t offset, Int_t whence);
Int_t SysStat(Int_t fd, Long_t *id, Long_t *size, Long_t *flags, Long_t *modtime);
new: Long64_t SysSeek(Int_t fd, Long64_t offset, Int_t whence);
Int_t SysStat(Int_t fd, Long_t *id, Long64_t *size, Long_t *flags, Long_t *modtime);
-TTree::SetMaxTreeSize has a new signature:
old: void TTree::SetMaxTreeSize(Int_t maxsize)
new: void TTree::SetMaxTreeSize(Long64_t maxsize)
All references to Seek_t have been replaced by Long64_t.
Revision
7656 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 26 10:33:08 2003 UTC (11 years, 2 months ago) by
rdm
Original Path:
trunk/net/src/TNetFile.cxx
File length: 20586 byte(s)
Diff to
previous 7534
From Gerri:
- remove globals in Krb5Auth, SRPAuth and GlobusAuth
- error printing in case of failure in TAuthenticate
(print a list of failed messages only if unsuccessful
in the end)
- fix a problem with globus credential transmission when
running as non-root
- a couple of protections in TSlave related to SRP
- a few fixes to avoid some spurious error messages
printed by proofd
Revision
7534 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Nov 7 03:29:42 2003 UTC (11 years, 2 months ago) by
rdm
Original Path:
trunk/net/src/TNetFile.cxx
File length: 20625 byte(s)
Diff to
previous 7456
From Gerri:
Index: README/README.AUTH
o Update explaining tutorial use
Index: base/src/TFile.cxx
o ::Open(): call TNetFile also if same host but different user
(to access files protected by password)
Index: globusauth/src/GlobusAuth.cxx
o Aestethic changes (shortening of a few lines)
Index: krb5auth/src/Krb5Auth.cxx
o Simplify two debug printouts
o Change debug print to stderr in Info(...; add gDebug control.
Index: net/inc/THostAuth.h
o Modify default ctor
o Add method HasMethod to test method availability
Index: net/src/TAuthenticate.cxx
o make sure that if fgUser (and nothing else) is set, this is
the default user name
o Make sure that requiring roots/rootk uses correctly details
found for those methods in .rootauthrc
o Fix return of GetPromptUser()
o Fix problem with wild cards
o Add check for wildcard host names in method GetHostAuth
o Remove debug printout in method ReadAuthRc
Index: net/src/THostAuth.cxx
o Modify default ctor
o Add method HaveMethod to test method availability
o Aestethic changes (shortening of a few lines)
Index: net/src/TNetFile.cxx
o Remove precompiler unused #if's in method ConnectServer
Index: proof/inc/TProofServ.h
o Remove method ReadProofAuth, add method RecvHostAuth
(To receive directly the authentication info in ProofServ
instead of reading it from temporary files
/usr/tmp/proofserv.<id>)
Index: proof/src/TProofServ.cxx
o All mods needed to remove method ReadProofAuth and add
method RecvHostAuth (see above).
Modified methods: Setup, CollectAuthInfo .
o Fix bug in CollectAuthInfo switching ReUse off by default
for method UsrPwd
o Removing automatic choice of UidGid for local slaves
o Setting order of default UidGid authentication to last
o Aestethic changes in CheckAuth
Index: proof/src/TSlave.cxx
o transmit passwd for UsrPwd and SRP authentication also to slaves
o All mods needed to send auth info to ProofServ instead of
proofd (see above)
Index: proofd/src/proofd.cxx
o Fix compiling problem with namespaces for Kerberos
o Remove redundant 'access' calls
o Authenticate: do not recive auth info (done in ProofServ)
o ProofExec: send TmpDir to proofserv (for key location)
o Define gSystemdaemonc as $ROOTETCDIR/system.rootdaemonrc
Index: rootd/src/rootd.cxx
o Define gSystemdaemonc as $ROOTETCDIR/system.rootdaemonrc
Index: rpdutils/inc/rpdp.h
o Rename gAuthAllow as gSystemDaemonRc
o Rename kDaemonAccess as kDaemonRc
Index: rpdutils/src/rpdutils.cxx
o Fix compiling problem with namespaces for Kerberos
o Define kDaemonRc as .rootdaemonrc (it was daemon.access)
o Add support for $HOME/.rootdaemonrc
o Add support for daemon dependent access rules
o Aestethic changes in CheckAuth (drop commented lines)
Index: srputils/src/SRPAuth.cxx
o set static flags only when authentication is successful
Index: tutorials/TestAuth.C
o Test using TFTP instead of TNetFile (faster and runs also
with local host fqdn)
o Add test for kerberos
Revision
7456 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Oct 22 18:48:36 2003 UTC (11 years, 3 months ago) by
rdm
Original Path:
trunk/net/src/TNetFile.cxx
File length: 21160 byte(s)
Diff to
previous 7310
From Gerri:
Patched files:
configure
o improved detection of patch details for globus
README/README.GLOBUS
o updated
etc/hostcert.conf
o add example for non-root runs
globusauth/src/GlobusAuth.cxx
o remove redundant 'access' calls
net/src/TAuthenticate.cxx
o fix return value in method GetPromptUser
proofd/src/proofd.cxx
o remove redundant 'access' calls
rpdutils/inc/rpdp.h
o add new includes file depending on Globus GTK version
o add prototype for new function GblsToolCheckProxy
rpdutils/src/globus.cxx
o fix a few typos in debug messages
o add new function GblsToolCheckProxy for checking user
proxies when running as non-root
o remove redundant 'access' calls
rpdutils/src/rpdutils.cxx
o remove redundant 'access' calls
Revision
7310 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sun Sep 21 21:38:31 2003 UTC (11 years, 4 months ago) by
rdm
Original Path:
trunk/net/src/TNetFile.cxx
File length: 21011 byte(s)
Diff to
previous 7226
New TCastorFile: a TCastorFile is like a normal TNetFile except that it
obtains the remote node (disk server) via the CASTOR API, once the
disk server and the local file path are determined, the file will be
accessed via the rootd daemon. File names have to be specified like:
castor:/castor/cern.ch/user/r/rdm/bla.root
The patch level of libshift should be at least 1.5.x (which is the one
installed on all CERN machines in /usr/local).
The CASTOR HSM interface code is provided by Jean-Damien Durand of the
CASTOR team.
Revision
7226 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sun Sep 7 18:25:47 2003 UTC (11 years, 4 months ago) by
rdm
Original Path:
trunk/net/src/TNetFile.cxx
File length: 20877 byte(s)
Diff to
previous 7175
From Gerri:
- configure Maarten's comments + fix for some SRP libraries
not being found
- globusauth/Module.mk
Maarten's comments
- net/inc/TAuthenticate.h
net/src/TAuthenticate.cxx
net/src/TAuthDetails.cxx
net/src/THostAuth.cxx
net/src/TNetFile.cxx
proof/src/TProof.cxx
proof/src/TSlave.cxx
Unified AuthMeth[kMAXSEC] (your comments ...)
+ small consistency fixes (Host named checked
as FQDN everywhere ...)
- proofd/src/proofd.cxx
rootd/src/rootd.cxx
rpdutils/inc/rpdp.h
rpdutils/src/rpdutils.cxx
Unified AuthMeth[kMAXSEC]
+ gShmIdCred fix
Fons:
- TAuthenticate: simplified way to find index of auth method.
Revision
5776 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 10 02:19:46 2002 UTC (12 years, 1 month ago) by
rdm
Original Path:
trunk/net/src/TNetFile.cxx
File length: 19281 byte(s)
Diff to
previous 4210
new method TFile::ReOpen(Option_t *mode). Reopens a file with a different
access mode, like from READ to UPDATE or from NEW, CREATE, RECREATE, UPDATE
to READ. Thus the mode argument can be either "READ" or "UPDATE". The
method returns 0 in case of success, 1 in case mode did not change and
-1 in case of failure.
Revision
4210 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 20 18:54:57 2002 UTC (12 years, 10 months ago) by
rdm
Original Path:
trunk/net/src/TNetFile.cxx
File length: 17726 byte(s)
Diff to
previous 3999
add cases for Kerberos5 authentication. In particular the default authentication
method for rootd and proofd can now be set in system.rootrc. The default is
clear text passwd, but SRP and Krb5 can be specified. The default is used when
"root:" or "proof:" appears in the url. The default can be overridden by
specifying explicitely "roots:" or "rootk:", idem for proof.
Revision
3999 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Feb 15 14:07:14 2002 UTC (12 years, 11 months ago) by
rdm
Original Path:
trunk/net/src/TNetFile.cxx
File length: 17296 byte(s)
Diff to
previous 3591
support new option "+read" in TNetFile. This will allow you to open a file
in read mode that has already been opened in write mode by another rootd.
By default rootd does not allow readers when a file is being written.
Usefull for spying in DAQ environments, but should be used carefully.
Revision
1205 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Dec 13 15:13:57 2000 UTC (14 years, 1 month ago) by
brun
Original Path:
trunk/net/src/TNetFile.cxx
File length: 13704 byte(s)
Diff to
previous 1105
W A R N I N G !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
==================================================================
A very long list of changes in this pre-release of version 3.00.
We have modified the signature of many functions (in particular TObject)
to introduce more constness in the system.
You must change your code if your class derives from TObject and uses
one of the modified functions such as ls, Print, Compare, Hash, etc.
The modified functions in TObject have the following signature:
virtual TObject *Clone() const;
virtual Int_t Compare(const TObject *obj) const;
virtual void Delete(Option_t *option=""); // *MENU*
virtual void DrawClass() const; // *MENU*
virtual void DrawClone(Option_t *option="") const; // *MENU*
virtual void Dump() const; // *MENU*
virtual TObject *FindObject(const TObject *obj) const;
virtual char *GetObjectInfo(Int_t px, Int_t py) const;
virtual ULong_t Hash() const;
virtual void Inspect() const; // *MENU*
virtual Bool_t IsEqual(const TObject *obj) const;
virtual void ls(Option_t *option="") const;
virtual void Print(Option_t *option="") const;
A similar operation has been done with classes such as TH1, TVirtualPad,
TTree, etc.
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.