Re: [PATCH/RFC] s390: Hypervisor File System

From: Pekka Enberg
Date: Tue Apr 25 2006 - 10:04:12 EST


Hi Martin,

On Fri, 2006-04-21 at 18:38 +0300, Pekka Enberg wrote:
> > The update-on-write to special file thing seems bit strange to me. What
> > if two processes ask for it at the same time?

On Fri, 2006-04-21 at 18:40 +0200, Martin Schwidefsky wrote:
> Yes, we had that discussion as well. Any sensible suggestion how to do
> it in a more clever way would be greatly appreciated. We haven't found
> something better so far.

The only way I can think of is via s_ops->remount_fs. That's bit safer
anyway, as sb->s_lock protects us from concurrent updates. I am cc'ing
fsdevel to see if they can come up with a better suggestion.

Pekka

-
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/