[PATCH 02/18] vinyl: move quota methods implementation to vy_quota.c

Konstantin Osipov kostja at tarantool.org
Mon Aug 20 14:07:58 MSK 2018


* Vladimir Davydov <vdavydov.dev at gmail.com> [18/08/16 23:03]:
> None of vy_quota methods is called from a hot path - even the most
> frequently called ones, vy_quota_try_use and vy_quota_commit_use, are
> only invoked once per a transactions. So there's no need to clog the
> header with the methods implementation.
> ---
>  src/box/CMakeLists.txt |   1 +
>  src/box/vy_quota.c     | 133 +++++++++++++++++++++++++++++++++++++++++++++++++
>  src/box/vy_quota.h     | 110 +++++++---------------------------------
>  3 files changed, 153 insertions(+), 91 deletions(-)
>  create mode 100644 src/box/vy_quota.c

OK to push.


-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov



More information about the Tarantool-patches mailing list