From: Ian Kent <raven@themaw.net>
To: Ning Yu <ning.yu@canonical.com>
Cc: autofs <autofs@vger.kernel.org>
Subject: Re: Mount point not auto unmounted after system date/time change
Date: Wed, 16 Sep 2015 19:21:40 +0800 [thread overview]
Message-ID: <1442402500.2977.80.camel@themaw.net> (raw)
In-Reply-To: <CAA1QoHQC44B8bNtFdWz_i-zY7r_RxjZ8RWkyNYmy6eR7_qQ=qQ@mail.gmail.com>
On Wed, 2015-09-16 at 19:02 +0800, Ning Yu wrote:
> On Wed, Sep 16, 2015 at 6:43 PM, Ian Kent <raven@themaw.net> wrote:
> > On Wed, 2015-09-16 at 18:28 +0800, Ning Yu wrote:
> >> On Wed, Sep 16, 2015 at 5:16 PM, Ian Kent <raven@themaw.net> wrote:
> >> > On Wed, 2015-09-16 at 16:45 +0800, Ning Yu wrote:
> >> >> Hi,
> >> >>
> >> >> I have composed a patch for this issue, it works in my side, what it
> >> >> does is replacing gettimeofday() with clock_gettime(CLOCK_MONOTONIC).
> >> >>
> >> >> Would anyone please help to review it? Thanks in advance.
> >> >
> >> > Are you joking!
> >> > How is this meant to apply to the current source, it won't.
> >> >
> >> > If you can manage to post a sane patch you will need to break it up into
> >> > a few separate standalone patches with sane explanations of what each
> >> > one is meant to achieve.
> >>
> >> I'm sorry, not to offend, the previous patch was huge because all the call to
> >> time() or gettimeofday() functions are replaced with clock_gettime().
> >
> > Encountering this after a generally unpleasant day is bound to get a
> > short and unpleasant response, ;)
> >
>
> Best wishes for you and have a nice day/night :)
>
> >>
> >> Please allow me to re-send the patch, this time I have splitted it into
> >> several smaller patches, hope it won't be as stupid as previous one.
> >
> > Well, I see those posts but there are still problems with your email
> > program.
> >
> > Apart from the DOS line ends all the tabs appear to have been collapsed
> > to single spaces.
> >
> > I really don't want to go through and apply these hunk by hunk manually
> > when you must have a properly formatted patch already.
> >
>
> Thanks for pointing it out, I will have to fix my email client issue first and
> resend the patches. Sorry for wasting you so much of time.
A couple of other small things.
Please make the title of the patch email the same as the tittle of the
patch. And if possible add a [PATCH x/y] prefix to the title, x being
the ordering of the patch within the y patches posted.
And in patch titles I commonly use "autofs-n-v-r - actual title".
So for example one of these would have a title like:
autofs-5.1.1 - Use monotonic clock instead of time()
assuming you had made them against the 5.1.1 source.
I've also started to use (quite recently in fact) "Signed-off-by:" in
patches so please add yours too, I don't feel right about adding it for
someone else as it's an assumption that may or may not be correct.
These things aren't a big deal as I can change most of them myself
easily if it's not convenient for you to do it.
>
> >>
> >> >
> >> >>
> >> >> From cdb2bcd563420cd39af199309e8c0c7fc45a7bd1 Mon Sep 17 00:00:00 2001
> >> >> From: Yu Ning <ning.yu@ubuntu.com>
> >> >> Date: Wed, 16 Sep 2015 15:56:21 +0800
> >> >> Subject: [PATCH] Use clock_gettime() instead of gettimeofday().
> >> >>
> >> >> This patch is to fix the issue that a mount point may not be
> >> >> automatically unmounted after a system date/time change.
> >> >>
> >> >> Reproducer with 100% failrate:
> >> >
> >> > Since of you to hammer the result of the problem you've identified
> >> > rather than just explain the problem and what needs to be done to
> >> > resolve it in a polite and sensible manner.
> >> >
> >
> >
--
To unsubscribe from this list: send the line "unsubscribe autofs" in
next prev parent reply other threads:[~2015-09-16 11:21 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-16 8:29 Mount point not auto unmounted after system date/time change Ning Yu
2015-09-16 8:45 ` Ning Yu
2015-09-16 9:16 ` Ian Kent
2015-09-16 10:28 ` Ning Yu
2015-09-16 10:43 ` Ian Kent
2015-09-16 11:02 ` Ning Yu
2015-09-16 11:21 ` Ian Kent [this message]
2015-09-17 3:48 ` [PATCH v3 1/3] autofs-5.1.1 - use clock_gettime() instead of gettimeofday() Yu Ning
2015-09-17 3:48 ` [PATCH v3 2/3] autofs-5.1.1 - use monotonic clock for pthread cond timed wait Yu Ning
2015-09-17 6:49 ` Ian Kent
2015-09-17 7:19 ` Ning Yu
2015-09-17 8:39 ` Ian Kent
2015-09-17 9:12 ` Ning Yu
2015-09-18 1:36 ` Ian Kent
2015-09-18 7:16 ` [PATCH v5 1/3] autofs-5.1.1 - use clock_gettime() instead of gettimeofday() Yu Ning
2015-09-18 7:16 ` [PATCH v5 2/3] autofs-5.1.1 - use monotonic clock for pthread cond timed wait Yu Ning
2015-09-18 7:16 ` [PATCH v5 3/3] autofs-5.1.1 - use monotonic clock instead of time() Yu Ning
2015-09-18 7:20 ` [PATCH v3 2/3] autofs-5.1.1 - use monotonic clock for pthread cond timed wait Ning Yu
2015-09-17 3:48 ` [PATCH v3 3/3] autofs-5.1.1 - use monotonic clock instead of time() Yu Ning
2015-09-17 7:04 ` Ian Kent
2015-09-17 7:16 ` Ian Kent
2015-09-17 7:34 ` Ning Yu
2015-09-17 4:02 ` Mount point not auto unmounted after system date/time change Ning Yu
2015-09-17 4:09 ` [PATCH v4 1/3] autofs-5.1.1 - use clock_gettime() instead of gettimeofday() Yu Ning
2015-09-17 4:09 ` [PATCH v4 2/3] autofs-5.1.1 - use monotonic clock for pthread cond timed wait Yu Ning
2015-09-17 4:09 ` [PATCH v4 3/3] autofs-5.1.1 - use monotonic clock instead of time() Yu Ning
2015-09-17 4:17 ` Mount point not auto unmounted after system date/time change Ning Yu
2015-09-17 6:07 ` Ian Kent
2015-09-17 6:05 ` Ian Kent
2015-09-16 10:30 ` Ning Yu
2015-09-16 10:30 ` Ning Yu
2015-09-16 10:30 ` Ning Yu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1442402500.2977.80.camel@themaw.net \
--to=raven@themaw.net \
--cc=autofs@vger.kernel.org \
--cc=ning.yu@canonical.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.