* [ANN] cmogstored 1.7.1 - a mogstored alternative
@ 2019-05-12 0:54 5% Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2019-05-12 0:54 UTC (permalink / raw)
To: mogile, cmogstored-public
cmogstored is an alternative implementation of the "mogstored" storage
component of MogileFS. cmogstored is implemented in C and does not use
Perl at runtime. cmogstored is the only component you need to install
on a MogileFS storage node.
Changes: Linux 5.0/5.1 epoll_pwait workaround
The Linux kernel bugfix should hit mainline and stable kernels,
soon. But there's no reason for us to be caring if errno is
EINTR or not...
cf. https://lore.kernel.org/lkml/20190427093319.sgicqik2oqkez3wk@dcvr/
https://lore.kernel.org/lkml/20190507043954.9020-1-deepa.kernel@gmail.com/
There are also some minor build/test updates since v1.7.0 (2018-12-18):
test/mgmt-usage.rb: fix mismatched indentation warning
add .gitattributes for Ruby files
test/mgmt_auto_adjust.rb: improve diagnostic messages
.gitignore: add extra ignores for gnulib in Debian 9
notify.c: workaround epoll_pwait bug in current Linux 5.0/5.1
doc: remove mailing list subscription info
https://bogomips.org/cmogstored/files/cmogstored-1.7.1.tar.gz
SHA-256: 603c163e133c656feebf1055364eb153664fafcb053696f7b86da511bf02a893
* homepage: http://bogomips.org/cmogstored/README
* git clone https://bogomips.org/cmogstored.git
* gitweb: https://repo.or.cz/w/cmogstored.git
* public inbox: cmogstored-public@bogomips.org
* archives: https://bogomips.org/cmogstored-public/
* nntp://news.public-inbox.org/inbox.comp.file-systems.mogilefs.cmogstored
^ permalink raw reply [relevance 5%]
* [PATCH] test/mgmt_auto_adjust.rb: improve diagnostic messages
@ 2019-04-27 21:26 7% Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2019-04-27 21:26 UTC (permalink / raw)
To: cmogstored-public
Chasing down a regression in Linux 5.0:
https://lkml.kernel.org/r/20190427093319.sgicqik2oqkez3wk@dcvr
---
test/mgmt_auto_adjust.rb | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/test/mgmt_auto_adjust.rb b/test/mgmt_auto_adjust.rb
index 8ec725f..311747d 100644
--- a/test/mgmt_auto_adjust.rb
+++ b/test/mgmt_auto_adjust.rb
@@ -80,6 +80,7 @@ def test_aio_threads_auto_adjust
RUBY_PLATFORM !~ /kfreebsd-gnu/
def test_aio_threads_auto_adjust_warn
+ at = Time.now
@client.write "server aio_threads = 1\r\n"
assert_equal "\r\n", @client.gets
stop = Time.now + 60
@@ -87,7 +88,8 @@ def test_aio_threads_auto_adjust_warn
while (! File.read(@err.path).include?(expect) && Time.now < stop)
sleep 0.1
end
- assert(File.read(@err.path).include?(expect), File.read(@err.path))
+ msg = File.read(@err.path)
+ assert(msg.include?(expect), "msg[#@pid]: #{msg} #{at}")
Dir.mkdir("#@tmpdir/dev333")
warning = "fewer aio_threads(1) than devices(2)"
@@ -95,6 +97,7 @@ def test_aio_threads_auto_adjust_warn
while (! File.read(@err.path).include?(warning)) && Time.now < stop
sleep 0.1
end
- assert(File.read(@err.path).include?(warning), File.read(@err.path))
+ msg = File.read(@err.path)
+ assert(msg.include?(warning), "msg[#@pid]: #{msg} #{at}")
end
end
--
EW
^ permalink raw reply related [relevance 7%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2019-04-27 21:26 7% [PATCH] test/mgmt_auto_adjust.rb: improve diagnostic messages Eric Wong
2019-05-12 0:54 5% [ANN] cmogstored 1.7.1 - a mogstored alternative Eric Wong
Code repositories for project(s) associated with this public inbox
https://yhbt.net/cmogstored.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).