public inbox for cygwin-patches@cygwin.com
 help / color / mirror / Atom feed
* [PATCH 0/1] Fix fstat on FIFOs, part 1
@ 2021-02-09 15:11 Ken Brown
  2021-02-09 15:11 ` [PATCH 1/1] Revert "Cygwin: fstat_helper: always use handle in call to get_file_attribute" Ken Brown
  2021-02-09 15:25 ` [PATCH 0/1] Fix fstat on FIFOs, part 1 Corinna Vinschen
  0 siblings, 2 replies; 3+ messages in thread
From: Ken Brown @ 2021-02-09 15:11 UTC (permalink / raw)
  To: cygwin-patches

Commit 76dca77f04 had a careless blunder, so this patch reverts it.

Nevertheless, fstat(2) can be made more efficient on FIFOs, and I'm
working on a separate patchset to do this right.  It's worth doing,
because every call to open(2) on a FIFO leads to a call chain

  device_access_denied --> fhaccess --> fstat,

and this is one of the cases where greater efficiency is possible.

Ken Brown (1):
  Revert "Cygwin: fstat_helper: always use handle in call to
    get_file_attribute"

 winsup/cygwin/fhandler_disk_file.cc | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

-- 
2.30.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-09 15:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-09 15:11 [PATCH 0/1] Fix fstat on FIFOs, part 1 Ken Brown
2021-02-09 15:11 ` [PATCH 1/1] Revert "Cygwin: fstat_helper: always use handle in call to get_file_attribute" Ken Brown
2021-02-09 15:25 ` [PATCH 0/1] Fix fstat on FIFOs, part 1 Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).