diff options
author | 2012-08-31 17:29:53 -0500 | |
---|---|---|
committer | 2012-10-01 14:30:52 -0500 | |
commit | 86ff77bb68c6cda783b195a260f68fd5d32f7aaf (patch) | |
tree | 38c0f281df6e578171d39ad70d093afd10390dc7 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | rbd: call rbd_init_disk() sooner (diff) | |
download | linux-dev-86ff77bb68c6cda783b195a260f68fd5d32f7aaf.tar.xz linux-dev-86ff77bb68c6cda783b195a260f68fd5d32f7aaf.zip |
rbd: drop dev registration check for new snap
By the time rbd_dev_snaps_register() gets called during rbd device
initialization, the main device will have already been registered.
Similarly, a header refresh will only occur for an rbd device whose
Linux device is registered. There is therefore no need to verify
the main device is registered when registering a snapshot device.
For the time being, turn the check into a WARN_ON(), but it can
eventually just go away.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions