2001-02-13 21:23:36

by Colonel

[permalink] [raw]
Subject: 2.4.1 loopback FS partial fix


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.


2001-02-13 23:33:04

by John Langford

[permalink] [raw]
Subject: Re: 2.4.1 loopback FS partial fix

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) {
---
> if ((ffd = open (file, mode)) < 0) {

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

-John