Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 149201 Details for
Bug 230882
No aio completion event on I/O error
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Add aio completion on I/O errors
io_error_completion.patch (text/plain), 1.19 KB, created by
Menny Hamburger
on 2007-03-04 07:01:57 UTC
(
hide
)
Description:
Add aio completion on I/O errors
Filename:
MIME Type:
Creator:
Menny Hamburger
Created:
2007-03-04 07:01:57 UTC
Size:
1.19 KB
patch
obsolete
>--- direct-io.c@@/main/local/bug15361/0 2007-03-01 17:12:08.667928000 +0200 >+++ direct-io.c@@/main/local/bug15361/1 2007-03-01 17:29:23.000000000 +0200 >@@ -130,4 +130,5 @@ > struct kiocb *iocb; /* kiocb */ > int is_async; /* is IO async ? */ >+ int io_error; > ssize_t result; /* IO result */ > }; >@@ -240,4 +241,5 @@ > */ > spin_unlock_irqrestore(&dio->bio_lock, flags); >+ > /* Check for short read case */ > transferred = dio->result; >@@ -248,4 +250,8 @@ > transferred = dio->i_size - offset; > >+ /* check for error in completion path */ >+ if (dio->io_error) >+ transferred = dio->io_error; >+ > dio_complete(dio, offset, transferred); > >@@ -404,5 +410,5 @@ > > if (!uptodate) >- dio->result = -EIO; >+ dio->io_error = -EIO; > > if (dio->is_async && dio->rw == READ) { >@@ -969,4 +975,5 @@ > > dio->page_errors = 0; >+ dio->io_error = 0; > dio->result = 0; > dio->iocb = iocb; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 230882
: 149201