NetBSD/usr.sbin/perfused/Makefile
manu 5a6d3e75bd Serialize access to file size. We already have such a thing in the
kernel, where it fixes race for PUFFS filesystems, but we need it again
in perfused since FUSE filesystems are allowed to reorder requests.

The huge issue is in the asyncrhonous SETATTR sent by fsync. It is
followed by a syncrhnous FSYNC, so if the filesystem does not reorder
requests, once the FSYNC returns, we are confident the SETATTR is done.
But since FUSE can reorder, we need to implement sync in perfused.
2011-09-09 15:45:28 +00:00

18 lines
363 B
Makefile

# $NetBSD: Makefile,v 1.4 2011/09/09 15:45:28 manu Exp $
PROG= perfused
PERFUSE_OPT_DEBUG_FLAGS= -g -DPERFUSE_DEBUG
CFLAGS+= ${PERFUSE_OPT_DEBUG_FLAGS}
SRCS= perfused.c msg.c debug.c
MAN= perfused.8
WARNS= 4
LDADD+= -lperfuse -lpuffs
DPADD+= ${LIBPUFFS}
CWARNFLAGS.clang+= -Wno-format-security
.include <bsd.prog.mk>