cmogstored dev/user discussion/issues/patches/etc
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [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] notify.c: workaround epoll_pwait bug in current Linux 5.0/5.1
@ 2019-05-11  7:56  7% Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2019-05-11  7:56 UTC (permalink / raw)
  To: cmogstored-public

The bugfix should hit mainline and stable kernels, soon; but
there's no reason for us to be caring if errno is EINTR, or
not...

https://lore.kernel.org/lkml/20190427093319.sgicqik2oqkez3wk@dcvr/
https://lore.kernel.org/lkml/20190507043954.9020-1-deepa.kernel@gmail.com/
---
 notify.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/notify.c b/notify.c
index 73e772a..1deed82 100644
--- a/notify.c
+++ b/notify.c
@@ -100,7 +100,14 @@ void mog_notify_wait(bool need_usage_file)
 	mfd = mog_idleq_wait_intr(mog_notify_queue, timeout);
 	if (mfd)
 		notify_queue_step(mfd);
-	else if (errno == EINTR)
+	else
+		/*
+		 * errno == EINTR, but epoll_pwait on some Linux v5.0+/v5.1+
+		 * fails to return EINTR.  This should be fixed in Linux,
+		 * soon:
+		 * <20190427093319.sgicqik2oqkez3wk@dcvr>
+		 * <20190507043954.9020-1-deepa.kernel@gmail.com>
+		 */
 		note_run();
 }
 
-- 
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-05-11  7:56  7% [PATCH] notify.c: workaround epoll_pwait bug in current Linux 5.0/5.1 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).