Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

FileStream.BeginRead/Write with useAsync no longer use overlapped I/O #55172

Closed

Description

@stephentoub

On Windows when FileStream is opened for overlapped I/O, its BeginRead/Write methods would use overlapped I/O. Now in .NET 6 when no buffering is used, this is no longer the case: BeginRead/Write aren't overridden on the Windows strategy, and these operations end up using the base Stream implementation that queues work items (which will in turn block waiting on async I/O).

cc: @adamsitnik

Activity

  1. added this to the 6.0.0 milestone on Jul 5, 2021
  2. ghost added
    untriaged
    on Jul 5, 2021
  3. teo-tsirpanis commented on Jul 6, 2021

    @teo-tsirpanis
    Contributor

    I am working on it.

  4. added a commit that references this issue on Jul 6, 2021
    26d87c2
  5. ghost added
    in-pr
    on Jul 6, 2021
  6. removed
    untriaged
    on Jul 6, 2021
  7. added a commit that references this issue on Jul 14, 2021
    95044fd
  8. ghost removed
    in-pr
    on Jul 14, 2021
  9. ghost locked as resolved and limited conversation to collaborators on Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions