Skip to contentSkip to conversation

2.4.1 loopback FS partial fix

DISCUSSION Colonel 2 participants 2 messages Feb 13, 2001

lore
Share & tools
lore

Colonel

author
#0 lore raw

For the other list readers with problems:

I used patch 2.4.2-pre2 (not pre3)

plus axboe's loop-4 patch (in the people directory).

/[email protected]:/pub/linux/kernel/people/axboe/patches/2.4.2-pre1

It solves most problems here.

#1 lore raw

Excellent - this solved my problems. I stress tested the loopback device with a big copy and it seemed to work. I also made losetup use open64:

[root@crush mount]# diff lomount.c lomount.c~
230c230
< if ((ffd = open64 (file, mode)) < 0) {
---

Quoted 1 line
      if ((ffd = open (file, mode)) < 0) {

and gave it a 10GB file. This seems to be working fine as well.

-John