[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RFH: zfs-fuse



Hi,

I'm currently giving a try to zfs-fuse (ITP #419746) and it has support
for sparc64. My understanding of the debian port is that it is mostly a
32 bits port, with a 64 bits kernel. The zfs-fuse build scripts only
deal with sparc64 as returned by uname -m, but builds as 32-bits
application with the current toolchain. Also, it builds with
-mcpu=ultrasparc, which I'm unsure is allowed for the debian sparc port
(as well as expecting uname -m to always return sparc64), but the code
does use ultrasparc specific opcodes, most notably "cas".

For those interested in the code, they can lookup
src/lib/libsolcompat/sparc64/atomic.S which contains most sparc specific
assembly in http://prdownload.berlios.de/zfs-fuse/zfs-fuse-0.5.0.tar.bz2

I'm not sure the resulting package works properly either (as I'm unable
to test it on porter machines), so if someone could check out
http://people.debian.org/~glandium/zfs-fuse_0.5.0-1_sparc.deb
and see if the following sequence of commands work (as root):
        dd of=foo bs=1024 count=0 seek=500000
        zpool create foo $(pwd)/foo
        zfs create foo/bar
        touch /foo/bar/baz
        ls /foo/bar/baz

You can cleanup with:
        zpool destroy foo
        rm foo

before removing the package.

Thanks for your help.

Mike


Reply to: