Re: unionfs port/update

看板DFBSD_kernel作者時間16年前 (2010/02/24 06:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/4 (看更多)
:... :> I haven't yet read the unionfs papers so the theory is still very :> generalized in my head. 脷asically as I understand it all writes :> should go to an upper level vnode and reads should try the upper level :> first and fall through to the lower level if there is no upper shadow :> copy. 嘞emoves should always operate on the upper level as well as :> creates and renames. :> :> Please let me know your thoughts and most importantly any tips and : :FWIW LWN ran a serie of articles explaining various unionfs approaches: : :http://lwn.net/Articles/327738/ If we had data-dedup for HAMMER we wouldn't even have to worry about the complexities of unionfs. cpdup would work fine. One thing I've noticed in DragonFly is that there is much less of a case of needing unionfs when one has snapshots and when nullfs mounts work well. In thinking about how snapshots help here it occurs to me that we might want to add a snapshot locking feature whereby a snapshot can be locked (preventing hammer cleanup, prune, or prune-everything from destroying it). -Matt Matthew Dillon <dillon@backplane.com>
文章代碼(AID): #1BX5TeRx (DFBSD_kernel)
文章代碼(AID): #1BX5TeRx (DFBSD_kernel)