You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Reshma V Kumar (JIRA)" <ji...@apache.org> on 2019/07/02 05:30:00 UTC

[jira] [Commented] (SVN-4815) Svnadmin fails on AIX

    [ https://issues.apache.org/jira/browse/SVN-4815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16876674#comment-16876674 ] 

Reshma V Kumar commented on SVN-4815:
-------------------------------------

I tested the fsync functionality in several scenarios. Every time, it failed on AIX. So, I have used the same approach and modified the patch according to the changes suggested.

[^subversion-1.10.4-io.patch]

 

> Svnadmin fails on AIX
> ---------------------
>
>                 Key: SVN-4815
>                 URL: https://issues.apache.org/jira/browse/SVN-4815
>             Project: Subversion
>          Issue Type: Bug
>          Components: libsvn_subr
>    Affects Versions: 1.10.x
>         Environment: OS- AIX 7.2
>            Reporter: Reshma V Kumar
>            Priority: Major
>         Attachments: subversion-1.10.4-io.patch, subversion-1.10.4-io.patch
>
>
> I am testing subversion 1.10.4 on AIX 7.2
> # oslevel -s
> 7200-03-00-0000
> While executing the following command , it gives error.
> # svnadmin create --fs-type fsfs /reshma/svn
> svnadmin: E000009: Can't write '/reshma/svn/db/current' atomically
> svnadmin: E000009: Can't flush file '/reshma/svn/db' to disk: A file descriptor does not refer to an open file.
> This is because in AIX, fsync called on a directory returns errno=EBADF which makes subversions/libsvn_subr/io.c:svn_io_flush_to_disk {{}}fail.
> To fix this, I created a patch. Here I am checking if the platform is AIX.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)