Re: [Review] Fixes to the VFS layer

看板DFBSD_submit作者時間14年前 (2011/10/22 18:03), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/5 (看更多)
Francois, as I said previously on IRC I disagree with this approach to statfs and hence to your first two patches. You should be using the statfs entry point and not inspect the statfs structure in the mount point. For that, you need to simply fix the right thing, which would be the VOP_STATFS entry of nullfs and make it populate the fields you need as you expect. On IRC I outlined this in much more detail, so please take a look at your logs for more info. That the stat field in the mount point is not populated as you would like it is *not* a bug and doesn't really need fixing, you should be using the right approach instead, one that is using the API instead of raw accesses. Regarding the other patch, please make sure that you don't break the initrd infrastructure in the process. Haven't looked in detail at your patch, but it looks relatively dangerous in assuming where the root mount is in the mount list. Kind Regards, Alex On 28/08/11 11:22, Francois Tigeot wrote: > Hi, > > While working on the vfs-quota branch, I found some problems in the existing > kernel VFS code. > > The attached patches correspond to local commits I have created to fix them. > I'm not too sure if what I've done is ideal, and I'd like these patches > to be reviewed before pushing them to master (or not). > > They have been applied to two of my machines (one desktop, one database > server), and do not seem to cause any problem. >
文章代碼(AID): #1EefK8zC (DFBSD_submit)
文章代碼(AID): #1EefK8zC (DFBSD_submit)