abcb6c9fd1
This patch series fixes the following problems on 32 bits architecture. o stat64 returns the lower 32 bits of blocks, although userland st_blocks has 64 bits, because i_blocks has only 32 bits. The ioctl with FIOQSIZE has the same problem. o As Dave Kleikamp said, making >2TB file on JFS results in writing an invalid block number to disk inode. The cause is the same as above too. o In generic quota code dquot_transfer(), the file usage is calculated from i_blocks via inode_get_bytes(). If the file is over 2TB, the change of usage is less than expected. The cause is the same as above too. o As Trond Myklebust said, statfs64's entries related to blocks are invalid on statfs64 for a network filesystem which has more than 2^32-1 blocks with CONFIG_LBD disabled. [PATCH 3/3] We made patches to fix problems that occur when handling a large filesystem and a large file. It was discussed on the mails titled "stat64 for over 2TB file returned invalid st_blocks". Signed-off-by: Takashi Sato <sho@tnes.nec.co.jp> Cc: Dave Kleikamp <shaggy@austin.ibm.com> Cc: Jan Kara <jack@ucw.cz> Cc: Trond Myklebust <trond.myklebust@fys.uio.no> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
a.out.h | ||
adb.h | ||
adb_iop.h | ||
amigahw.h | ||
amigaints.h | ||
amigayle.h | ||
amipcmcia.h | ||
apollodma.h | ||
apollohw.h | ||
atafd.h | ||
atafdreg.h | ||
atari_acsi.h | ||
atari_joystick.h | ||
atari_SLM.h | ||
atari_stdma.h | ||
atari_stram.h | ||
atarihw.h | ||
atariints.h | ||
atarikb.h | ||
atomic.h | ||
auxvec.h | ||
bitops.h | ||
blinken.h | ||
bootinfo.h | ||
bug.h | ||
bugs.h | ||
bvme6000hw.h | ||
byteorder.h | ||
cache.h | ||
cachectl.h | ||
cacheflush.h | ||
checksum.h | ||
contregs.h | ||
cputime.h | ||
current.h | ||
delay.h | ||
div64.h | ||
dma-mapping.h | ||
dma.h | ||
dsp56k.h | ||
dvma.h | ||
elf.h | ||
emergency-restart.h | ||
entry.h | ||
errno.h | ||
fbio.h | ||
fcntl.h | ||
floppy.h | ||
fpu.h | ||
futex.h | ||
hardirq.h | ||
hp300hw.h | ||
hw_irq.h | ||
hwtest.h | ||
ide.h | ||
idprom.h | ||
intersil.h | ||
io.h | ||
ioctl.h | ||
ioctls.h | ||
ipc.h | ||
ipcbuf.h | ||
irq.h | ||
kmap_types.h | ||
linkage.h | ||
local.h | ||
mac_asc.h | ||
mac_baboon.h | ||
mac_iop.h | ||
mac_mouse.h | ||
mac_oss.h | ||
mac_psc.h | ||
mac_via.h | ||
machdep.h | ||
machines.h | ||
machw.h | ||
macintosh.h | ||
macints.h | ||
math-emu.h | ||
mc146818rtc.h | ||
md.h | ||
mman.h | ||
mmu.h | ||
mmu_context.h | ||
module.h | ||
motorola_pgalloc.h | ||
motorola_pgtable.h | ||
movs.h | ||
msgbuf.h | ||
mutex.h | ||
mvme16xhw.h | ||
mvme147hw.h | ||
namei.h | ||
nubus.h | ||
openprom.h | ||
oplib.h | ||
page.h | ||
page_offset.h | ||
param.h | ||
parport.h | ||
pci.h | ||
percpu.h | ||
pgalloc.h | ||
pgtable.h | ||
poll.h | ||
posix_types.h | ||
processor.h | ||
ptrace.h | ||
q40_master.h | ||
q40ints.h | ||
raw_io.h | ||
resource.h | ||
rtc.h | ||
sbus.h | ||
scatterlist.h | ||
sections.h | ||
segment.h | ||
semaphore-helper.h | ||
semaphore.h | ||
sembuf.h | ||
serial.h | ||
setup.h | ||
shm.h | ||
shmbuf.h | ||
shmparam.h | ||
sigcontext.h | ||
siginfo.h | ||
signal.h | ||
socket.h | ||
sockios.h | ||
spinlock.h | ||
stat.h | ||
statfs.h | ||
string.h | ||
sun3-head.h | ||
sun3_pgalloc.h | ||
sun3_pgtable.h | ||
sun3ints.h | ||
sun3mmu.h | ||
sun3x.h | ||
sun3xflop.h | ||
sun3xprom.h | ||
suspend.h | ||
swim_iop.h | ||
system.h | ||
termbits.h | ||
termios.h | ||
thread_info.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
topology.h | ||
traps.h | ||
types.h | ||
uaccess.h | ||
ucontext.h | ||
unaligned.h | ||
unistd.h | ||
user.h | ||
virtconvert.h | ||
xor.h | ||
zorro.h |