lkml.org 
[lkml]   [2008]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH RFC] nilfs2: continuous snapshotting file system
    From
    On Fri, 29 Aug 2008 21:16:22 +0200, Jörn Engel wrote:
    > On Sat, 30 August 2008 01:37:29 +0900, Ryusuke Konishi wrote:
    > > On the other hand, there are some differences in premise because nilfs
    > > is aiming at racking up past user data and makes it a top priority to
    > > keep data which is overwritten by recent updates. If users want to
    > > preserve much data in nilfs, it will increase the chance of disk fulls
    > > than regular file systems.
    >
    > Hm, good point. With continuous snapshots the rules of the game change
    > considerably. So maybe it is ok to depend on the userspace daemon here,
    > because the space is unreclaimable anyway.
    >
    > What is the policy on deleting continuous snapshots? Or can it even be
    > configured by the administrator (which would be cool)?

    First, nilfs never deletes the checkpoints marked as snapshot nor the
    recent checkpoints whose elapsed time from its creation is smaller than
    ``protection period''. These are ground rules.

    Based on the rules, the userland GC daemon can delete arbitrary
    checkpoints among removable checkpoints. But the current GC just
    deletes the removable checkpoints in chronological order. More
    sophisticated policies, for example, the one detects landmark
    checkpoints and tries to keep them (a known policy in versioning
    filesystems), may be conceivable.

    But I feel the current policy is simple and satisfactory, so I'd like
    to leave others to someone who wants to implement them (e.g. one of my
    colleagues).

    Regards,
    Ryusuke Konishi
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2008-09-01 14:29    [W:0.024 / U:152.164 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site