All of lore.kernel.org
 help / color / mirror / Atom feed
* a problem related to stray directory
@ 2011-03-28  2:19 huang jun
  2011-03-28  4:39 ` Sage Weil
  0 siblings, 1 reply; 2+ messages in thread
From: huang jun @ 2011-03-28  2:19 UTC (permalink / raw)
  To: ceph-devel

hi
  i just have another question.when a file is unlinked it goes into
the stray directory.eval_stray() will be called, in the eval_stray()
will check dirfrags is empty or no,
  but i look log  file , the source exits after checked the dirfrag. i
can't find the trim_dirfrags() or close_dirfrags() be called in the
log file
  so  i have a problem, when trim_dirfrags() or close_dirfrags() will be called.
 thanks

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

* Re: a problem related to stray directory
  2011-03-28  2:19 a problem related to stray directory huang jun
@ 2011-03-28  4:39 ` Sage Weil
  0 siblings, 0 replies; 2+ messages in thread
From: Sage Weil @ 2011-03-28  4:39 UTC (permalink / raw)
  To: huang jun; +Cc: ceph-devel

On Mon, 28 Mar 2011, huang jun wrote:
> hi
>   i just have another question.when a file is unlinked it goes into
> the stray directory.eval_stray() will be called, in the eval_stray()
> will check dirfrags is empty or no,
>   but i look log  file , the source exits after checked the dirfrag. i
> can't find the trim_dirfrags() or close_dirfrags() be called in the
> log file
>   so i have a problem, when trim_dirfrags() or close_dirfrags() will be 
> called.
>  thanks

Do you mean that the dirfrag is empty, but isn't closed, and as a result 
eval_stray() won't purge it?  Are you triggering this situation?

Thanks!
sage


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

end of thread, other threads:[~2011-03-28  4:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-28  2:19 a problem related to stray directory huang jun
2011-03-28  4:39 ` Sage Weil

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.