From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 20 Aug 2018 14:07:58 +0300 From: Konstantin Osipov Subject: Re: [PATCH 02/18] vinyl: move quota methods implementation to vy_quota.c Message-ID: <20180820110758.GE8716@chai> References: <6f86d2082c35c5b9b01b3e46a009326b8b49f636.1534432819.git.vdavydov.dev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6f86d2082c35c5b9b01b3e46a009326b8b49f636.1534432819.git.vdavydov.dev@gmail.com> To: Vladimir Davydov Cc: tarantool-patches@freelists.org List-ID: * Vladimir Davydov [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