[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1003161258280.1307-100000@iolanthe.rowland.org>
Date: Tue, 16 Mar 2010 13:08:45 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: Jens Axboe <axboe@...nel.dk>,
Alexander Viro <viro@...iv.linux.org.uk>
cc: linux-fsdevel@...r.kernel.org,
Kernel development list <linux-kernel@...r.kernel.org>
Subject: Block 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists