From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 58C1F1F9FD for ; Fri, 26 Feb 2021 09:41:41 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/5] lei mbox locking Date: Thu, 25 Feb 2021 22:41:36 -1100 Message-Id: <20210226094141.11514-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: mbox locking is in preparation for inotify/EVFILT_VNODE mbox monitoring and keyword storage updating. And some other odds and ends... Anyways, still not sure how I want to store keywords for read-only externals: https://public-inbox.org/meta/20210224204950.GA2076@dcvr/ Eric Wong (5): lei: style fix for $oldset declaration lei q: support mbox locking by default lei import|convert: support mbox locking on reads t/lei_store: rename $lst to $sto lei_xsearch: more detail about ->xdb call chain MANIFEST | 2 + lib/PublicInbox/LEI.pm | 19 ++++-- lib/PublicInbox/LeiConvert.pm | 9 ++- lib/PublicInbox/LeiImport.pm | 13 ++-- lib/PublicInbox/LeiToMail.pm | 16 +++-- lib/PublicInbox/LeiXSearch.pm | 3 +- lib/PublicInbox/MboxLock.pm | 121 ++++++++++++++++++++++++++++++++++ t/lei-q-remote-import.t | 12 ++++ t/lei_store.t | 102 ++++++++++++++-------------- t/mbox_lock.t | 90 +++++++++++++++++++++++++ 10 files changed, 315 insertions(+), 72 deletions(-) create mode 100644 lib/PublicInbox/MboxLock.pm create mode 100644 t/mbox_lock.t