diff options
author | Boris Pavlovic <boris@pavlovic.me> | 2013-03-12 11:10:54 +0400 |
---|---|---|
committer | Boris Pavlovic <boris@pavlovic.me> | 2013-03-13 00:22:21 +0400 |
commit | 32ceb7ae28ef85e93669273bd04689c96228c564 (patch) | |
tree | 3dd96cd21334917a7c5a67179df67d2b5cddac7a /nova/utils.py | |
parent | 27b4c62b69464ce1211e91dbc61643ae47798ccd (diff) | |
download | nova-32ceb7ae28ef85e93669273bd04689c96228c564.tar.gz nova-32ceb7ae28ef85e93669273bd04689c96228c564.tar.xz nova-32ceb7ae28ef85e93669273bd04689c96228c564.zip |
Refactor work with session in db.block_device_mapping_* methods
Remove explicit use of session where it is not required.
Also this is small performance optimization, because if we put
session parameter to Models.save() method will create subtransaction.
blueprint db-session-cleanup
Change-Id: I6064f3df2daf0178009c4cf40da293f71ca6972a
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions