TVolumeIOParamInfo Class Reference

class TVolumeIOParamInfo

Volume IO parameter information.

This class is used to return IO parameter information for a specified volume.

The volume parameter information holds recommended buffer sizes for the creation of efficient buffers for reading and writing.

RFs::VolumeIOParam()

Member Data Documentation

TInt iBlockSize

TInt iBlockSize

The size of a block in bytes.

Reads and writes that are aligned on block boundaries are up to twice as fast as when mis-aligned.

Read and write operations on certain underlying media is done in blocks. A write operation that modifies only part of a block is less efficient, in general, than one that modifies an entire block. Data throughput degrades linearly for reads and writes in smaller sized units.

TInt iClusterSize

TInt iClusterSize

The size in bytes of a single disk cluster.

Read and write operations that are aligned on cluster boundaries are more efficient.

The file system organises and allocates the file data on the disk in clusters where each cluster is one or more blocks. Files that are not zero length occupy at least one cluster of the disk, so large numbers of very small files use up more disk space than expected.

TUint64 iMaxSupportedFileSize

TUint64 iMaxSupportedFileSize

The maximum file size that is supported by the file system mounted on this volume. Not all file system may provide this parameter; The value KMaxTUint64 (0xffffffffffffffff) means that this particular file system hasn't provided this information.

TInt iRecReadBufSize

TInt iRecReadBufSize

The recommended buffer size for optimised reading performance.

The given buffer size is based on sensible benchmark testing results produced by the mobile device vendor. The buffer size is then added to the estart.txt file

The figure is included in the estart.txt file along with the drive number and the variable name. The example below shows the required format:

[DriveC] RecReadBufSize 8192

When no value is provided, value KErrNotSupported is returned.

TInt iRecWriteBufSize

TInt iRecWriteBufSize

The recommended buffer size for optimised writing performance.

The given buffer size is based on sensible benchmark testing results produced by the mobile device vendor. The buffer size is then added to the estart.txt file

The figure is included in the estart.txt file along with the drive number and the variable name. The example below shows the required format:

[DriveC] RecWriteBufSize 16384

When no value is provided, value KErrNotSupported is returned.

TInt iReserved

TInt iReserved[private]