[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ceph-devel
Subject:    [PATCH 0/4] rbd: get rid of the snapshot list
From:       Alex Elder <elder () inktank ! com>
Date:       2013-04-30 12:41:20
Message-ID: 517FBBF0.9020904 () inktank ! com
[Download RAW message or body]

An rbd device structure maintains a list of snapshot
structures whose purpose is to cache the name, size,
and features associated with a snapshot id.  The main
reason it was needed was related to the presence of
Linux device information for snapshots, which we
no longer have.  We can look up the name, etc. "on
the fly" about as easily as we can using the list,
and getting rid of this list means we can eliminate
a substantial bit of code.

The final patch in this series gets rid of the snapshot
list and the rbd_snap structure.  The first three put
in place replacement functionality that doesn't require
the list.

					-Alex

[PATCH 1/4] rbd: look up snapshot name in names buffer
[PATCH 2/4] rbd: use snap_id not index to look up snap info
[PATCH 3/4] rbd: define rbd_snap_size() and rbd_snap_features()
[PATCH 4/4] rbd: kill off the snapshot list
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic