Re: Why does sys_fsync have a lock_kernel around it?

Stephen C. Tweedie (sct@redhat.com)
Fri, 22 Oct 1999 10:55:33 +0100 (BST)


Hi,

On Mon, 18 Oct 1999 16:35:28 +0400, Hans Reiser <reiser@idiom.com> said:

> Surely it should unlock before file->f_op->fsync(file, dentry);
> This won't scale for large fileservers..... and it seems unjustified.

There is nothing to stop a filesystem from dropping the big lock
internally if it wants to, but right now the filesystems are all
expecting to have the lock on entry and things will break badly if it is
missing.

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/