From: "Bhagi rathi" <jahnu77@gmail.com>
To: Bhagi rathi <jahnu77@gmail.com>,
Lachlan McIlroy <lachlan@sgi.com>,
xfs@oss.sgi.com
Subject: Re: TAKE 981498 - Use KM_NOFS for debug trace buffers
Date: Fri, 8 Aug 2008 10:46:56 +0530 [thread overview]
Message-ID: <cc7060690808072216q29efacf4tdf363fe3ed8a2c44@mail.gmail.com> (raw)
In-Reply-To: <cc7060690808071043r659aea9fn4e28959b3a62081e@mail.gmail.com>
On Thu, Aug 7, 2008 at 11:13 PM, Bhagi rathi <jahnu77@gmail.com> wrote:
>
>
> On Thu, Aug 7, 2008 at 1:49 AM, Dave Chinner <david@fromorbit.com> wrote:
>
>> On Wed, Aug 06, 2008 at 10:42:15PM +0530, Bhagi rathi wrote:
>> > I couldn't get a chance to read the diff's completely. If I click on
>> > Lachlan's url for diff's, I couldn't access them. It looks to me that
>> > the issue is not just with trace buffers. It can extend to xfs_iformat
>> > as well. The same dead-lock can spring via
>> >
>> > xfs_iread -> xfs_iformat -> xfs_iformat_extents -> xfs_iext_add ->
>> > xfs_iext_inline_to_direct -> which can do kmem_alloc with
>> > KM_SLEEP flag.
>>
>> Fixed already:
>>
>>
>> http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/xfs-2.6.git;a=commit;h=8c6266658cb76e282c14cb92f8ba5a1c674f4928
>>
>
> Thanks Dave. However, My concern is just not one allocation. We
> need to clean all allocations that can re-enter to file-system.
> I see that this issue exists in attributes format for i_afp allocations.
> It may exist with local format of data and attributes too.
>
> xfs_iread->xfs_iformat->xfs_iformat_local.
>
Is the above issue fixed already? I see this existing in latest linux
kernel.
>
> Are we safe that we fixed all these real problems by looking
> into possible allocations that will enter into file-system? The
> problem with trace buffers is telling us to clean this code path.
>
> By the way, I browse the source code from lxr.linux.no.
> If I have to browse the latest xfs source code with linux
> kernel that is used at SGI, how can I do that?
>
Any pointers on this? I wish to setup my own xfs development enviroment
and details on this will be helpful.
Cheers,
Bhagi.
>
>
> Cheers,
> Bhagi.
>
>>
>> Cheers,
>>
>> Dave.
>> --
>> Dave Chinner
>> david@fromorbit.com
>>
>
>
[[HTML alternate version deleted]]
next prev parent reply other threads:[~2008-08-08 5:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-06 6:15 TAKE 981498 - Use KM_NOFS for debug trace buffers Lachlan McIlroy
2008-08-06 17:12 ` Bhagi rathi
2008-08-06 19:56 ` Eric Sandeen
2008-08-06 20:19 ` Dave Chinner
2008-08-06 20:27 ` Dave Chinner
2008-08-06 21:03 ` Dave Chinner
2008-08-07 2:19 ` Russell Cattelan
2008-08-07 17:45 ` Bhagi rathi
2008-08-07 17:43 ` Bhagi rathi
2008-08-08 5:16 ` Bhagi rathi [this message]
2008-08-07 22:04 ` Christoph Hellwig
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=cc7060690808072216q29efacf4tdf363fe3ed8a2c44@mail.gmail.com \
--to=jahnu77@gmail.com \
--cc=lachlan@sgi.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