Home | History | Annotate | Download | only in puffs
History log of /src/tests/fs/puffs/t_basic.c
RevisionDateAuthorComments
 1.14  13-Jan-2017  christos Don't play with "../.." in includes for h_macros.h; deal with it centrally.
Minor fixes.
 1.13  01-Dec-2016  hannken - Change vcache_reclaim() to always call VOP_INACTIVE() before VOP_RECLAIM().
When called from vrecycle() or vgone() there is a window where the refcount
is greater than zero and another thread could get and release a reference
that would miss VOP_INACTIVE() as the refcount doesn't drop to zero.

Adjust test fs/puffs/t_basic: test VOP_INACTIVE count being greater zero.

- Make vrecycle() more robust by checking v_usecount first and preventing
further references across vn_lock(). Fixes a deadlock where one thread
starts unmount, second thread locks a directory and allocates a vnode
and first thread tries to vrecycle() the directory.
First thread holds vfs_busy and wants vnode, second thread holds vnode
and wants vfs_busy.

- With these fixes in place change cleanvnode() to use vget()/vrecycle()
to reclaim the vnode.
 1.12  19-Oct-2013  christos branches: 1.12.8;
fix unused variable warnings
 1.11  04-Apr-2011  plunky branches: 1.11.4; 1.11.10;
reinstate #ifdef PUFFSDUMP around otherwise unused function
which requires symbols from -lpuffs, not linked
 1.10  10-Feb-2011  pooka update /dev/null rump minor to make test pass again
 1.9  15-Nov-2010  pooka branches: 1.9.2;
Add test case for PR kern/44093 (fixed already, but tested to fail
without fix applied).
 1.8  27-Aug-2010  pooka Now that atf issue #53 has been fixed, remove the
child-must-dies-before-parent kludge.
 1.7  30-Jul-2010  pooka Fold the puffs private and vfs tests mount/unmount routines together.
To achieve this, add a file system private parameter to the newfs
method (which will obviously not be used by vfs tests).

njoly ok
 1.6  12-Jul-2010  pooka put stuff requiring -lpuffs behind -DPUFFSDUMP
 1.5  11-Jul-2010  pooka WARNS=2
 1.4  11-Jul-2010  pooka Add some basic tests for inactive/reclaim. To make this possible,
adjust the read/write shovel threads so, that we can tap into the
operations between puffs(9) and the file server.
 1.3  07-Jul-2010  pooka Add test cases for file servers which present the root node not as
a directory but as a regular file, symbolic link (although that
can't be unmounted without killing the server!), fifo or character
device.
 1.2  06-Jul-2010  pooka Call rump_init() only after we have fork&exec'd the file server.
Otherwise the test would on rare occasions hang (I guess this was
due to calling sprintf/close between fork&exec in a threaded
program?).
 1.1  06-Jul-2010  pooka Add the most basic test for puffs(dtfs): mount/unmount. There's
still a lot of work to do here, but I want to get to testbuilding
the tree ;)

TODO examples:
* integrate this with rump_syspuffs (and remove the stupid ``sys'' from there)
* integrate with njoly's fs-independent tests
* cleanup a lot
* write more tests

*sigh*, I wish we'd had testing tools like this 5 years ago when
I was writing puffs. It would have made a lot of things a lot
better and a lot easier.
 1.9.2.1  17-Feb-2011  bouyer Sync with HEAD
 1.11.10.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.11.4.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.12.8.2  20-Mar-2017  pgoyette Sync with HEAD
 1.12.8.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)

RSS XML Feed