lseek and llseek in 2.5.1 w/ Oracle 7.3.3

lseek and llseek in 2.5.1 w/ Oracle 7.3.3

Post by Frank Tropschu » Thu, 16 Oct 1997 04:00:00

I'd like to set up a tablespace area of about 8GB, made up of 4x2GB
disks striped together to a metadevice with the Online Disksuite.  I'm
assuming that because of that size, llseek's must be used, and in the
man pages there is an odd blurb:

     Although each file has a 64-bit file pointer associated with
     it, existing file system types do not support the full range
     of 64-bit offsets.  In particular, non-device  files  remain
     limited  to  offsets  of  less  than  two gigabytes.  Device
     drivers may support offsets of up to 1024 gigabytes for dev-
     ice special files.

Anyone have an opinion on that?  In particular, is it less efficient
than creating 4 striped md's (500MB/disk), each with 2 GB, allowing only
lseek's?  The md's would only be used as raw devices -- no ufs on them.



Performance Management Decentral Systems | +41-1-236-9823
Bahnhofstrasse 45, CH-8021 Zuerich       | EDSZ/EZIU/EPPD-TRF (VC 419)
Always do things in chronological order; it's less confusing that way.


1. 2.1.0 rd.c compile error lseek should be llseek?

I just built 2.1.0 by patching from 2.0.21; I'm obviously not as brave
as other people so I use a ramdisk as root via an sar disk.

drivers/block/rd.c is using lseek not llseek

the changed version compiles ok and seems to boot, but I'm having
problems loading the module for my mitsumi cdrom ie mcdx.o

insmod /lib/modules/current/cdrom/mcdx.o gives the error message

unknown error 1031663616

& insmod says it's loaded, but not initialised. Should I be using a
newer version of the modules utils?
Robin Becker

2. looping nohup hangs

3. lseek versus llseek

4. non-blocking term i/o (not again! 8^)

5. True 64bit alternative to lseek/llseek

6. Solaris - Disk Suite - No Reboot

7. Matrox Mystique ands X.

8. RAID-1 in Slackware 4.0 (Newbie here)

9. 2.5: push BKL out of llseek

10. AIX 5L Oracle 8.1.7, Oracle 9i and HACMP 4.5

11. WHEREIS: A fdisk with llseek() ?

12. 2.5: further llseek cleanup (3/3)

13. large offset llseek breaks for device special files on ac series