tech-kern archive

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

Re: struct file reference at VFS level



   Date: Fri, 22 Apr 2016 14:33:14 +0000
   From: Emmanuel Dreyfus <manu%netbsd.org@localhost>

   On Fri, Apr 22, 2016 at 02:07:22PM +0000, Taylor R Campbell wrote:
   >    I talked to the glusterFS developer that hit the problem about the 
   >    requirement. This is to iplement mandatory locks, a feature not available 
   >    in UFS.
   > 
   > Why is this file-system-specific?

   It is not filesystem-specific: the point is that there is no need
   for such a VFS feature in the filesystems currently supported
   by NetBSD? because none of them enforces mandatory locks.

What I mean is: Why does this require VFS operations to operate on the
mandatory locks -- why is it not generic for all file operations?

   > Can you share a pointer to the relevant logic?

   There was an exaple in my previous message.

Can you point to an example of a file system that relies on the struct
file reference?


Home | Main Index | Thread Index | Old Index