[root] / trunk / io / dcache / inc / TDCacheFile.h Repository:
ViewVC logotype

Log of /trunk/io/dcache/inc/TDCacheFile.h

Parent Directory Parent Directory


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

Revision 43512 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 27 20:26:50 2012 UTC (2 years, 9 months ago) by pcanal
File length: 3908 byte(s)
Diff to previous 34444
Fix for coding convention RN6 (Enumeration types begin 'E'.)

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: 3906 byte(s)
Diff to previous 31099
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 31099 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 11 21:10:36 2009 UTC (5 years, 2 months ago) by rdm
File length: 3847 byte(s)
Diff to previous 26186
increase readahead size from 8k to 128k and make it settable via
DCACHE_RA_BUFFER env var.

Revision 26186 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 14 09:33:41 2008 UTC (6 years, 2 months ago) by rdm
File length: 3845 byte(s)
Diff to previous 23122
From Tigran:
forgot to send matching header file.

Revision 23122 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 10 14:56:30 2008 UTC (6 years, 9 months ago) by rdm
File length: 3813 byte(s)
Diff to previous 20882
move the following directories into "io":

castor, chrip, dcache, gfal, io, rfio, sql, xml

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/dcache/inc/TDCacheFile.h
File length: 3813 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/dcache/inc/TDCacheFile.h
File length: 3813 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/dcache/inc/TDCacheFile.h
File length: 3863 byte(s)
Diff to previous 19269
remove :$ from tag line

Revision 19269 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 6 10:39:19 2007 UTC (7 years, 6 months ago) by pcanal
Original Path: trunk/dcache/inc/TDCacheFile.h
File length: 3882 byte(s)
Diff to previous 10921
Work around the missing 'vector read' in the DCache protocol by requesting
all the needed data in a single sequential read request (aka reading too
much data but reducing the number of messages).  This improves performances
by a factor 20 to 50 depending on network topology.

Revision 10921 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 14 10:21:05 2005 UTC (10 years ago) by rdm
Original Path: trunk/dcache/inc/TDCacheFile.h
File length: 3798 byte(s)
Diff to previous 10316
From Tigran Mkrtchyan:
support for large files is now available in dcap. Make use of it in
TDCacheFile. This needs the latest dcache.tgz file from
http://www.dcache.org/downloads.

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/dcache/inc/TDCacheFile.h
File length: 3796 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 9699 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 9 17:43:07 2004 UTC (10 years, 5 months ago) by rdm
Original Path: trunk/dcache/inc/TDCacheFile.h
File length: 3866 byte(s)
Diff to previous 9508
fix problem of reading ZIP archives when a TCache cache is active.

Revision 9508 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 13 11:33:55 2004 UTC (10 years, 6 months ago) by rdm
Original Path: trunk/dcache/inc/TDCacheFile.h
File length: 3909 byte(s)
Diff to previous 8743
From Tigran Mkrtchyan:
finally, we have implemented dc_opendir/dc_readdir and dc_closedir
functions. The new patch allow to use regular expressions in file names
with url:

TChain hat("HAT");
hat.Add("dcap://d2cachedoor.desy.de:24125/pnfs/desy.de/h1/data/oo-2.6/04/hat.2.6.3.10dst1.c04013*.root");
hat.Draw("LPol");

The patch created against ROOT cvs head at 29.06.2004. User need a
dcap library version 1.2.30 to get it running.

Revision 8743 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 29 17:05:39 2004 UTC (10 years, 8 months ago) by brun
Original Path: trunk/dcache/inc/TDCacheFile.h
File length: 3897 byte(s)
Diff to previous 7810
From Bill Tanenbaum + Philippe
There were a couple of issues in TDCacheFile.
The number of call to dc_stat in case of opening a file in read-only
mode was 6.  This patchs reduce it to 1 by checking existing and read permission
only in case of failure and by caching the size of the file.
The testing of the file in the update/create mode was incorrect in some circuntances
(this is due to gSystem->AccessPathName requiring an uri to proper work).

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/dcache/inc/TDCacheFile.h
File length: 3687 byte(s)
Diff to previous 7680
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 7680 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 2 02:07:44 2003 UTC (11 years, 1 month ago) by brun
Original Path: trunk/dcache/inc/TDCacheFile.h
File length: 3664 byte(s)
Diff to previous 4233
New code from Bill Tanenbaum adapting TDCacheFile to the latest dcache version.

Revision 4233 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 25 16:43:16 2002 UTC (12 years, 10 months ago) by rdm
Original Path: trunk/dcache/inc/TDCacheFile.h
File length: 2831 byte(s)
Diff to previous 3795
New version of dCache interface by Grzegorz Mazur. The important changes
in this version are:

 - contents of dcap.h is no longer included int the source, path to
   dcap.h can be specified by --with-dcap-incdir during configuration,

 - catch up with some minor modifications in libdcap API,

 - improved error handling,

 - quick'n'dirty but functional support for accessing files without
   PNFS (dcap://dcachedoor...),

 - preliminary support for (not yet functional in libdcap) SSL support.

Revision 3795 - (view) (download) (as text) (annotate) - [select for diffs]
Added Sun Jan 27 17:21:22 2002 UTC (12 years, 11 months ago) by rdm
Original Path: trunk/dcache/inc/TDCacheFile.h
File length: 2783 byte(s)
new module dcache implementing class TDCacheFile which implements a TFile
interface to the DESY dCache mass storage system. Code by Grzegorz Mazur
<mazur@mail.desy.de>. For more on dCache see http://www-dcache.desy.de/.

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