LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-19-2014, 07:18 PM   #1
ajitaqt
LQ Newbie
 
Registered: May 2014
Posts: 1

Rep: Reputation: Disabled
libaio io_getevents never returns an error


Hi,

I am writing an application in Ubuntu 14.04, 64-bit, using QtCreator 5.2, kernel 3.13.0-24, eglibc 2.19. I use io_submit to read/write to disk. I know I have a disk with bad sectors and with dmesg I can see a lot of errors, driver reporting bad status, sense codes, etc. but io_getevents never returns an error and all the res inside the response structures return the right number of bytes transferred. Is there another way to verify that the read/write completed successfully? Is it a bug in libaio?

Thanks
 
Old 05-28-2014, 09:13 PM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
@ajitaqt

You know what file you wrote to? Look at the "last modified" time stamp in an "ls -al" and make sure it matches the time punch from the script.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing MySQL - libaio dependency error nknithya Linux - Newbie 0 10-27-2011 02:02 AM
Error loading libaio.so.1 during MySql installation macogala Linux - Software 3 07-25-2011 01:46 AM
Error loading Shared Libraries libaio.so.1 while trying to Install Sybase digiman25 Linux - Software 1 07-18-2008 11:14 AM
apache 1.3.27, https url returns error -12263 in Firefox, fatal error (40) in Opera leo22838 Linux - Server 0 04-04-2008 01:51 PM
error while loading shared libraries: libaio.so.1 dbavinod Linux - Software 2 02-08-2008 05:01 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration