Re: [PATCH] [Request for inclusion] Filesystem in Userspace

From: Miklos Szeredi
Date: Fri Nov 19 2004 - 06:30:17 EST


> Grab http://www.zip.com.au/~akpm/linux/patches/stuff/ext3-tools.tar.gz and
> learn to drive run-bash-shared-mappings.sh.

Thanks Andrew, this indeed caused a deadlock. Strangely the deadlock
happens much more easily if 'usemem' is not run in parallel with
'bash-shared-mapping'.

> > gets a medal
>
> My emedals.com account awaits your contribution ;)

The medal is yours!

Apologies to everyone whom I disbelieved, and thanks for enlightening me.

The solution I'm thinking is along the lines of accounting the number
of writable pages assigned to FUSE filesystems. Limiting this should
solve the deadlock problem. This would only impact performance for
shared writable mappings, which are rare anyway.

Thanks,
Miklos
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/