diff options
author | Alex Elder <[email protected]> | 2013-05-08 22:50:04 -0500 |
---|---|---|
committer | Alex Elder <[email protected]> | 2013-05-13 15:06:44 -0500 |
commit | a2acd00e7964dbb1668a5956c9d0a4bdeb838c4a (patch) | |
tree | c8da76d9bd9d6ee72ea5d1fdefa01f72199ef232 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | e93f3152357ca75284284bef8eeea7d45fe1bab1 (diff) |
rbd: reference count parent requests
Keep a reference count for uses of the parent information for an rbd
device.
An initial reference is set in rbd_img_request_create() if the
target image has a parent (with non-zero overlap). Each image
request for an image with a non-zero parent overlap gets another
reference when it's created, and that reference is dropped when the
request is destroyed.
The initial reference is dropped when the image gets torn down.
Signed-off-by: Alex Elder <[email protected]>
Reviewed-by: Josh Durgin <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions