All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] rbd: get rid of the snapshot list
@ 2013-04-30 12:41 Alex Elder
  2013-04-30 12:42 ` [PATCH 1/4] rbd: look up snapshot name in names buffer Alex Elder
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Alex Elder @ 2013-04-30 12:41 UTC (permalink / raw)
  To: ceph-devel

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-05-01  1:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-30 12:41 [PATCH 0/4] rbd: get rid of the snapshot list Alex Elder
2013-04-30 12:42 ` [PATCH 1/4] rbd: look up snapshot name in names buffer Alex Elder
2013-04-30 12:42 ` [PATCH 2/4] rbd: use snap_id not index to look up snap info Alex Elder
2013-04-30 12:42 ` [PATCH 3/4] rbd: define rbd_snap_size() and rbd_snap_features() Alex Elder
2013-04-30 12:43 ` [PATCH 4/4] rbd: kill off the snapshot list Alex Elder
2013-05-01  0:57 ` [PATCH 0/4] rbd: get rid of " Josh Durgin
2013-05-01  1:12   ` Alex Elder
2013-05-01  1:16     ` Alex Elder
2013-05-01  1:32     ` Josh Durgin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.