public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
To: xfs@oss.sgi.com
Cc: Guangyu Sun <guangyu.sun@oracle.com>
Subject: Re: [PATCH] xfstest generic/280: wait for setquota to finish before umount
Date: Wed, 13 Nov 2013 12:04:02 +0400	[thread overview]
Message-ID: <52833272.8060507@oracle.com> (raw)
In-Reply-To: <1382637381-4847-1-git-send-email-guangyu.sun@oracle.com>


On 10/24/2013 09:56 PM, Guangyu Sun wrote:
> While running xfstest 280, we occasionally got such error:
>
>    setquota: Cannot set quota for user 0 from kernel on
>    /dev/mapper/xfstests-disk1: No such device
>    setquota: Cannot write quota for 0 on /dev/mapper/xfstests-disk1: No such
>    device
>
> setquota calls syscall quotactl, and the kernel will wait for the filesystem
> to unfreeze and then performs command. Then kernel will double check if the
> device is still mounted. If not, an ENODEV will be thrown.
>
> While in the testcase, unfreeze and umount might be so close that the device
> got umounted before quotactl is performed.
>
> Reported-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
> Signed-off-by: Guangyu Sun <guangyu.sun@oracle.com>
> ---
>   tests/generic/280 |    1 +
>   1 file changed, 1 insertion(+)
Hi!

Could anybody review this?

Thanks.

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  reply	other threads:[~2013-11-13  8:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-24 17:56 [PATCH] xfstest generic/280: wait for setquota to finish before umount Guangyu Sun
2013-11-13  8:04 ` Stanislav Kholmanskikh [this message]
2013-11-14 18:59 ` Eric Sandeen
2013-12-03 15:00 ` Rich Johnston
2013-12-03 23:24   ` Dave Chinner

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=52833272.8060507@oracle.com \
    --to=stanislav.kholmanskikh@oracle.com \
    --cc=guangyu.sun@oracle.com \
    --cc=xfs@oss.sgi.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox