Re: [PATCH V3] ovl: Allocate anonymous devs for lowerdirs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday, July 24, 2017 2:47:22 PM IST Chandan Rajendra wrote:
> For stat(2) on lowerdir non-dir entries in non-samefs case, this commit
> provides unique values for st_dev. The unique values are obtained by
> allocating anonymous bdevs for each of the lowerdirs in the overlayfs
> instance.
> 
> Signed-off-by: Chandan Rajendra <chandan@xxxxxxxxxxxxxxxxxx>
> ---
> Changelog:
> 
> v2->v3: Optimize away O(n) search for pseudo dev in ovl_get_pseudo_dev().
> 
> v1->v2: Drop code that provided unique st_dev across copy up.
> 

I have rebased Amir's "ovl: relax same fs constrain for constant st_ino" 
patch on top of the changes made in this patch. The tree containing
the rebased patch can be found at 
"https://github.com/chandanr/linux.git rework-anonymous-dev"

I have tested this by executing unionmount-testsuite's "./run --ov --verify".

-- 
chandan

--
To unsubscribe from this list: send the line "unsubscribe linux-unionfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux