bug-glibc
[Top][All Lists]
Advanced

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

Re: statfs hangs


From: Andreas Jaeger
Subject: Re: statfs hangs
Date: Sat, 26 Apr 2003 17:15:07 +0200
User-agent: KMail/1.5.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 26 April 2003 03:38, John Meyers wrote:
> Hi,
>       I find that statfs hangs on locked up nfs directories.
> I mount a remote nfs share .That machine goes down.Now when i access that
> share using statfs("/sharename"..) i get  hang .When i see the glibc
> sources i dont find where exactly is the statfs or statvfs located.

statfs is a system call, glibc calls directly the kernel without any changes 
in between.

> Also if statfs is called __statfs there is only one thing in the function
> in setting error number __set_errno (ENOSYS);. I am talking about the file
> sysdeps/generic/statfs.c in glibc.So what is happening exactly ?WHy is

That is the fall back for systems that do not have system calls and does not 
apply Under GNU/Linux.

> statfs locking up and where is the code for statfs.c which causes the
> hang.

the hand occurs in the kernel and not in glibc, run e.g. strace,

Andreas
- -- 
 Andreas Jaeger
  SuSE Labs address@hidden
   private address@hidden
    http://www.suse.de/~aj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE+qqJ8OJpWPMJyoSYRAjcxAJ9mUOPa7k7MJ1h9LfCf1ULwvEXdowCggK0h
i9qP/fHaUZlh+plcpxTk7hM=
=v/UH
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]