[GHC] #13296: stat() calls can block Haskell runtime

GHC ghc-devs at haskell.org
Mon Dec 11 19:26:31 UTC 2017


#13296: stat() calls can block Haskell runtime
-------------------------------------+-------------------------------------
        Reporter:  nh2               |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Runtime System    |              Version:  8.0.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"cafe98345cb5d4b11f2059d60d2f20e976ef4f2a/ghc"
 cafe9834/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="cafe98345cb5d4b11f2059d60d2f20e976ef4f2a"
 Always use the safe open() call

 open() can sometimes take a long time, for example on NFS or FUSE
 filesystems.  We recently had a case where open() was taking multiple
 seconds to return for a (presumably overloaded) FUSE filesystem, which
 blocked GC and caused severe issues.

 Test Plan: validate

 Reviewers: niteria, bgamari, nh2, hvr, erikd

 Reviewed By: bgamari

 Subscribers: rwbarton, thomie, carter

 GHC Trac Issues: #13296

 Differential Revision: https://phabricator.haskell.org/D4239
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13296#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list