Read-only XFS support for FreeBSD 6-CURRENT

Markus Trippelsdorf markus at trippelsdorf.de
Mon Mar 21 22:11:34 PST 2005


On Mon, 2005-03-21 at 20:55 +0000, Alexander Kabaev wrote:
> The read-only XFS access was quite stable in my testing and managed to
> survive through multiple 'make -j12 buildworld' rounds with src/ stored
> on XFS partition, so I think it is a good time for a wider community to
> take it for a spin and start reporting bugs/panics that I overlooked.

Unfortunately it does not build on my machine (AMD64):

cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=k8 -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -std=c99  -nostdinc -I-  -I. -I/usr/current/src/sys
-I/usr/current/src/sys/contrib/dev/acpica
-I/usr/current/src/sys/contrib/altq
-I/usr/current/src/sys/contrib/ipfilter
-I/usr/current/src/sys/contrib/pf -I/usr/current/src/sys/contrib/dev/ath
-I/usr/current/src/sys/contrib/dev/ath/freebsd
-I/usr/current/src/sys/contrib/ngatm
-I/usr/current/src/sys/gnu/fs/xfs/FreeBSD
-I/usr/current/src/sys/gnu/fs/xfs/FreeBSD/support
-I/usr/current/src/sys/gnu/fs/xfs -D_KERNEL -include opt_global.h
-fno-common -finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000  -mcmodel=kernel -mno-red-zone  -mfpmath=387
-mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding
-Werror  /usr/current/src/sys/gnu/fs/xfs/xfs_alloc.c
/usr/current/src/sys/gnu/fs/xfs/xfs_alloc.c: In function
`xfs_alloc_mark_busy':
/usr/current/src/sys/gnu/fs/xfs/xfs_alloc.c:2492: error: syntax error
before "do"
/usr/current/src/sys/gnu/fs/xfs/xfs_alloc.c:2492: error: `_tid'
undeclared (first use in this function)
/usr/current/src/sys/gnu/fs/xfs/xfs_alloc.c:2492: error: (Each
undeclared identifier is reported only once
/usr/current/src/sys/gnu/fs/xfs/xfs_alloc.c:2492: error: for each
function it appears in.)
/usr/current/src/sys/gnu/fs/xfs/xfs_alloc.c:2487: warning: unused
variable `bsy'
/usr/current/src/sys/gnu/fs/xfs/xfs_alloc.c:2488: warning: unused
variable `n'
/usr/current/src/sys/gnu/fs/xfs/xfs_alloc.c: At top level:
/usr/current/src/sys/gnu/fs/xfs/xfs_alloc.c:2492: error: syntax error
before "while"



More information about the freebsd-current mailing list