lkml.org 
[lkml]   [2011]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Union mount and lockdep design issues
Date
David Howells <dhowells@redhat.com> writes:

> Miklos Szeredi <miklos@szeredi.hu> wrote:
>
>> Overlayfs never locks both upper and lower at the same time, which means
>> there's no AB-BA locking dependency. The lock orderings are:
>
> What you're talking about is not analogous to the situation I'm seeing with
> unionmount.
>
> You actually have three filesystems in overlayfs. The interaction between
> overlayfs-and-upperfs and overlayfs-and-lowerfs is the equivalent in
> unionmount terms to upperfs-and-lowerfs. This is where the lockdep issue
> lies.

Normally overlayfs would be immune to this, since lower/upper are
different filesystem types. But overlayfs-over-overlayfs would see the
same lockdep warnings, right?

Thanks,
Miklos


\
 
 \ /
  Last update: 2011-07-13 15:21    [W:0.142 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site