* In which case EWOULDBLOCK is set while a write operation
@ 2007-12-18 5:57 Saquib Imam
2007-12-18 12:46 ` Mulyadi Santosa
2007-12-19 17:13 ` Erik Mouw
0 siblings, 2 replies; 3+ messages in thread
From: Saquib Imam @ 2007-12-18 5:57 UTC (permalink / raw)
To: linux-scsi
[-- Attachment #1: Type: text/plain, Size: 229 bytes --]
In which case EWOULDBLOCK / EAGAIN is set while a write operation ?
Can any one give detailed processing of a write operation for a file system
with journaling , like EXT3 File System.
Thanks & Regards,
Saquib Imam
[-- Attachment #2: Type: text/html, Size: 2264 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: In which case EWOULDBLOCK is set while a write operation
2007-12-18 5:57 In which case EWOULDBLOCK is set while a write operation Saquib Imam
@ 2007-12-18 12:46 ` Mulyadi Santosa
2007-12-19 17:13 ` Erik Mouw
1 sibling, 0 replies; 3+ messages in thread
From: Mulyadi Santosa @ 2007-12-18 12:46 UTC (permalink / raw)
To: Saquib Imam; +Cc: linux-scsi
Hi..
> In which case EWOULDBLOCK / EAGAIN is set while a write operation ?
i think it will happen if you use O_NONBLOCK but writing operation
itself will clearly block (for numerous reasons e.g block needs to be
allocated first and so on).
> Can any one give detailed processing of a write operation for a file system
> with journaling , like EXT3 File System.
better grab book like Understanding the Linux kernel 3rd edition or
Linux Device Driver 3rd edition. It is explained quite extensively
there.
regards,
Mulyadi.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: In which case EWOULDBLOCK is set while a write operation
2007-12-18 5:57 In which case EWOULDBLOCK is set while a write operation Saquib Imam
2007-12-18 12:46 ` Mulyadi Santosa
@ 2007-12-19 17:13 ` Erik Mouw
1 sibling, 0 replies; 3+ messages in thread
From: Erik Mouw @ 2007-12-19 17:13 UTC (permalink / raw)
To: Saquib Imam; +Cc: linux-scsi
[-- Attachment #1: Type: text/plain, Size: 421 bytes --]
On Tue, Dec 18, 2007 at 11:27:49AM +0530, Saquib Imam wrote:
> In which case EWOULDBLOCK / EAGAIN is set while a write operation ?
From write(2):
ERRORS
EAGAIN Non-blocking I/O has been selected using O_NONBLOCK and the
write would block.
Erik
--
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-12-19 17:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-18 5:57 In which case EWOULDBLOCK is set while a write operation Saquib Imam
2007-12-18 12:46 ` Mulyadi Santosa
2007-12-19 17:13 ` Erik Mouw
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox