From 0627a4b939d00633adba4d5be56822f0e5278bad Mon Sep 17 00:00:00 2001
From: Florian Fischer <florian.fl.fischer@fau.de>
Date: Mon, 8 Mar 2021 11:37:12 +0100
Subject: [PATCH] [meson] remove obsolete io_batch_anywhere_completions option

Since 8f38dbed8e78b288060f313eaa233037388063d1 the globalCompleter
does always reap and schedule in batches through
IoContest::reapAndSchedule<CallerEnvironment::ANYWHERE> ->
Runtime::scheduleFromAnywhere(Input it begin, InputIt end) ->
AnywhereQueue::insert(Input it begin, InputIt end)
---
 emper/Emper.hpp   | 7 -------
 meson.build       | 1 -
 meson_options.txt | 6 ------
 3 files changed, 14 deletions(-)

diff --git a/emper/Emper.hpp b/emper/Emper.hpp
index d70bb6d7..2138be46 100644
--- a/emper/Emper.hpp
+++ b/emper/Emper.hpp
@@ -97,11 +97,4 @@ static const bool IO_URING_SHARED_WQ =
 		false
 #endif
 		;
-static const bool IO_BATCH_ANYWHERE_COMPLETIONS =
-#ifdef EMPER_IO_BATCH_ANYWHERE_COMPLETIONS
-		true
-#else
-		false
-#endif
-		;
 }	 // namespace emper
diff --git a/meson.build b/meson.build
index be4deabd..9d43e0ad 100644
--- a/meson.build
+++ b/meson.build
@@ -73,7 +73,6 @@ endif
 io_bool_options = [
 	'uring_sqpoll',
 	'uring_shared_wq',
-	'batch_anywhere_completions',
 ]
 
 io_raw_options = [
diff --git a/meson_options.txt b/meson_options.txt
index 3a8e4e0a..d9fcab82 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -115,9 +115,3 @@ option(
   value: false,
   description: 'Share a common async backend between all io_urings'
 )
-option(
-  'io_batch_anywhere_completions',
-  type: 'boolean',
-  value: false,
-  description: 'Collect and schedule all completions reaped by the global completer at once'
-)
-- 
GitLab