Re: cvs commit: src/sys/ufs/ffs fs.h

[ Available lists | Index of cvs-sys | Month of Oct 1996 | Week of 12 Oct 1996 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Bruce Evans <bde@zeta.org.au>
Date
12 Oct 1996 15:44:25
Subject
Re: cvs commit: src/sys/ufs/ffs fs.h
Message-ID
199610122238.IAA09080@godzilla.zeta.org.au


[ Hide this part ]
>>  Modified:    sys/ufs/ffs  fs.h
>> Log:
>> Fixed lblktosize(). It overflowed at 2G. This bug only affected
>> ufs_read() and ufs_write().
>
> Are you going to bring this into -stable, or do you think it is unnecessary
>since we don't support >2GB files there anyway due to VM page restrictions?

I didn't plan to. Perhaps we should set fs_maxfilesize to 2G-1. This
should be safer than doing nothing or attempting to trap all the overflows.

I thought that large files worked in -current. A long time ago, I put a
1 TB file system on /dev/vn0. The metadata must have gone beyond 2G
logical in the underlying file.

Bruce


Elapsed time: 0.072 seconds