Re: Orangefs ABI documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I did this and the problem seems fixed:

# git diff
diff --git a/fs/orangefs/namei.c b/fs/orangefs/namei.c
index b3ae374..249bda5 100644
--- a/fs/orangefs/namei.c
+++ b/fs/orangefs/namei.c
@@ -61,6 +61,7 @@ static int orangefs_create(struct inode *dir,
                           __func__,
                           dentry->d_name.name);
                ret = PTR_ERR(inode);
+               d_drop(dentry);
                goto out;
        }

Of course, this has uncovered yet another reproducible problem:

710055 orangefs_unlink: called on PPTB1E4.TMP
710058 service_operation: orangefs_unlink ffff880014828000

                right in here I think the rm is
                being processed in the server just
                as the client-core has died.

710534 wait_for_matching_downcall: operation purged ffff880014828000
710538 service_operation: orangefs_unlink ffff880014828000
710539 service_operation:client core is NOT in service

                right in here I think stuff starts
                working again and we're going
                to unsuccessfully try to process
                the rm again.

710646 wait_for_matching_downcall returned 0 for ffff880014828000

                happy, because we got the matching downcall

710647 service_operation orangefs_unlink returning -2 for ffff880014828000
710648 orangefs_unlink: service_operation returned -2

                sad, because we got ENOENT on second rm

710649 Releasing OP ffff880014828000

                so... the userspace process (dbench in this case) thinks
                the rm failed, but it didn't.



On Mon, Feb 22, 2016 at 11:20 AM, Mike Marshall <hubcap@xxxxxxxxxxxx> wrote:
>  > Looks like I'd screwed up checking last time.
>
> Probably not that <g>... my branch did diverge over the course
> of the few days that we were thrashing around in the kernel trying
> to fix what I had broken two years ago in userspace.
>
> I can relate to why you were motivated to remove the thrashing
> around from the git history, but your git-foo is much stronger
> than mine. I wanted to try and get my branch back into line using
> a methodology that I understand to keep from ending up like
> this fellow:
>
> http://myweb.clemson.edu/~hubcap/harris.jpg
>
> I'm glad it worked out... my kernel.org for-next branch is updated now.
>
> so, I'll keep working the problem, using your d_drop idea first off...
> I'll be back with more information, and hopefully even have it fixed, soon...
>
> -Mike
>
> On Sat, Feb 20, 2016 at 8:36 AM, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
>> On Sat, Feb 20, 2016 at 07:14:26AM -0500, Mike Marshall wrote:
>>
>>> Your orangefs-untested branch has 5625087 commits. My "current" branch
>>> has 5625087 commits. In each all of the commit signatures match, except
>>> for the most recent 15 commits. The last 15 commits in my "current"
>>> branch were made from your orangefs-untested branch with "git format-patch"
>>> and applied to my "current" branch with "git am -s". "git log -p" shows that
>>> my most recent 15 commits differ from your most recent 15 commits by
>>> the addition of my "sign off" line.
>>
>> *blinks*
>> *checks*
>>
>> OK, ignore what I asked, then.  Looks like I'd screwed up checking last time.
>>
>>> I will absolutely update my kernel.org for-next branch with the procedure you
>>> outlined, because you said so.
>>>
>>> I wish I understood it better, though... I can only guess at this point that
>>> the procedure you outlined will do some desirable thing to git metadata...?
>>
>> None whatsoever, ignore it.
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux