All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tiger Yang <tiger.yang@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] fix mlog_errno in ocfs2_global_read_info
Date: Mon, 25 Jun 2012 16:16:17 +0800	[thread overview]
Message-ID: <4FE81E51.3070109@oracle.com> (raw)
In-Reply-To: <C593DD0C25314743922515FB5DD8A801@tktelekom.net>

Hi, Marek,

I know you are suffered with quota bug, but I am trying to fix this 
issue soon.

Thanks,

Tiger

On 06/25/2012 04:04 PM, Marek Kr?likowski wrote:
> Don`t use usrquota and grpquota - this is amazing unstable i wait for 
> patch 7 month and still in progress....
> And FYI this is not only this error look i got many many in dmesg when 
> someone get email and he is over quota there is error in dmesg like this:
> (local,29785,2):ocfs2_write_begin:1953 ERROR: status = -122
> (courier-imapd,26241,1):ocfs2_write_begin:1953 ERROR: status = -122
>
> And many many other errors with status -122... if possible disable 
> quota or You get kernel panic when u write/read/move file with FS 
> quota support on ocfs2 cluster.
> Thanks
>
>
> -----Oryginalna wiadomo??----- From: Tiger Yang
> Sent: Monday, June 25, 2012 10:00 AM
> To: ocfs2-devel at oss.oracle.com
> Cc: Mark Fasheh
> Subject: [Ocfs2-devel] fix mlog_errno in ocfs2_global_read_info
>
> Hi, All,
>
> When mount ocfs2 with option usrquota and grpquota, we will see below
> message:
>
> (mount.ocfs2,9434,1):ocfs2_global_read_info:403 ERROR: status = 24
> (mount.ocfs2,9434,3):ocfs2_global_read_info:403 ERROR: status = 24
>
> But actually this should not be a error.
>
> In ocfs2_global_read_info, if  read_quota() succeed, status is the size
> of the struct ocfs2_global_disk_dqinfo, only when it is not equal to the
> correct size, it will be a error. So this positive value should be
> return and should not log it as a error.
>
> I made a patch to fix this, and in the patch I removed the redundant
> mlog_errno also.
>
> Thanks for review
>
> Tiger
>
> _______________________________________________
> Ocfs2-devel mailing list
> Ocfs2-devel at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-devel

  reply	other threads:[~2012-06-25  8:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-25  8:00 [Ocfs2-devel] fix mlog_errno in ocfs2_global_read_info Tiger Yang
2012-06-25  8:03 ` [Ocfs2-devel] [PATCH 1/1] ocfs2: remove redundant and incorrect mlog_error Tiger Yang
2012-07-04  6:26   ` Joel Becker
2012-06-25  8:04 ` [Ocfs2-devel] fix mlog_errno in ocfs2_global_read_info Marek Królikowski
2012-06-25  8:16   ` Tiger Yang [this message]
2012-06-25  8:19     ` Marek Królikowski

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=4FE81E51.3070109@oracle.com \
    --to=tiger.yang@oracle.com \
    --cc=ocfs2-devel@oss.oracle.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.