User: Password:
|
|
Subscribe / Log in / New account

Opening device nodes

Opening device nodes

Posted Sep 16, 2011 22:50 UTC (Fri) by bjencks (subscriber, #80303)
Parent article: Ensuring data reaches disk

What are the semantics when you open a device node (either block, e.g. disk, or char, e.g. tape)? Does the kernel ever use page cache for device files? Does O_DIRECT do anything? What about O_SYNC? Does fsync always generate a barrier?

Also, what about the different disk abstraction layers (LVM, dm-crypt, MD RAID, DRBD, etc) -- what's involved in passing an fsync() all the way down the stack?


(Log in to post comments)


Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds