lkml.org 
[lkml]   [2010]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectBlock device files and the page cache
Jens and Al:

Simple testing seems to show that when a program closes a file
descriptor for a block device file, the release method in the device
driver's block_device_operations structure doesn't get called (and the
close(2) system call doesn't return) until all the dirty pages for that
device have been written out.

Can anyone confirm that this always happens? Where in the kernel
source is this handled?

Thanks,

Alan Stern



\
 
 \ /
  Last update: 2010-03-16 18:11    [W:0.049 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site