All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ocfs2-devel] Question about incorrect free bits setting
@ 2015-03-27  2:27 Joseph Qi
  2015-03-27 16:54 ` Goldwyn Rodrigues
  0 siblings, 1 reply; 6+ messages in thread
From: Joseph Qi @ 2015-03-27  2:27 UTC (permalink / raw)
  To: ocfs2-devel

Hi Goldwyn,
I found you posted a mail to discuss about incorrect free bits setting.
https://oss.oracle.com/pipermail/ocfs2-devel/2012-January/008458.html

In this topic, Sunil said it was because of the patch added to delay
dropping of the dentry locks (commit ea455f8ab683) and suggested to fix
the quota issue in a different way.
Then you reverted the patches based on Honza's new way to fix the quota
issue.
https://oss.oracle.com/pipermail/ocfs2-devel/2014-February/009662.html

I have investigated these patches and still do not know how can it
happen.
Could you please tell me more about the case that bits to be cleared
twice?

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [Ocfs2-devel] Question about incorrect free bits setting
@ 2012-01-18 18:00 Goldwyn Rodrigues
  2012-01-18 18:21 ` Sunil Mushran
  0 siblings, 1 reply; 6+ messages in thread
From: Goldwyn Rodrigues @ 2012-01-18 18:00 UTC (permalink / raw)
  To: ocfs2-devel

We have a customer who was running into read-only filesystem because
of incorrect free bits set/calculation. We have provided the fix from
here, which avoids the read-only problem
http://oss.oracle.com/pipermail/ocfs2-devel/2011-November/008431.html

Though the filesystem is does not turn read-only, we still get messages like -

[ 5017.452846] (ocfs2_wq,8480,0):ocfs2_block_group_clear_bits:2113
ERROR: Trying to clear 1 bits at offset 7658 in group descriptor #
7644672 (device cciss/c0d0p3), needed to clear 0 bits

We are investigating how the bits get free in the first place because
another allocation could claim the bits marked as free.

The question is:

Why does ocfs2_release_clusters has ocfs2_clear_bit as the undo
function wheras ocfs2_free_clusters has ocfs2_set_bit as the undo
function? Should it be NULL for ocfs2_release_clusters?

-- 
Goldwyn

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-04-01  8:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-27  2:27 [Ocfs2-devel] Question about incorrect free bits setting Joseph Qi
2015-03-27 16:54 ` Goldwyn Rodrigues
2015-03-27 16:57   ` Goldwyn Rodrigues
2015-04-01  8:16     ` Joseph Qi
  -- strict thread matches above, loose matches on Subject: below --
2012-01-18 18:00 Goldwyn Rodrigues
2012-01-18 18:21 ` Sunil Mushran

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.