Re: Problems with symlinks at storage/posix

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

 



You're welcome.
Yes it fixes all the problems I had.

Filipe

On Sun, Jan 18, 2009 at 20:30, Anand Avati <avati@xxxxxxxxxxxxx> wrote:
> Just applied the patch, Thanks! Does this patch solve your problem
> completely or is there something else?
>
> avati
>
> 2009/1/16 Filipe Maia <filipe@xxxxxxxxxxxxxx>:
>> Hi,
>>
>> I tried running unify to replace my current NFS setup for my home
>> directory but through unify I only saw 333 files on my home, compared
>> to a couple more than a 1000 using NFS.
>>
>> After much digging I think i know the problem. In my home directory
>> there is a link that points to a non-existing file (dangling symlink).
>> In the posix_setdents the correct symlink is created but then the
>> chmod right after it fails and setdents exists without creating any of
>> the others entries on the namespace.
>> The chmod fails because it tries to chmod the file pointed by the
>> symlink, which does not exist (it fails with errno=2).
>>
>> I did some more tests and this can occur even if the symlink points
>> somewhere as long as the symlink is created before the destination
>> point.
>>
>> Attached is a patch proposal that seemed to work in my system. The
>> patch is against 2.0.0rc1.
>>
>> Filipe
>>
>> _______________________________________________
>> Gluster-devel mailing list
>> Gluster-devel@xxxxxxxxxx
>> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>>
>>
>




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux