commit | 7da21a02b3587157bd43910ea6d4c76661228ebb | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@suse.de> | Sun May 01 12:12:52 2005 -0700 |
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | Sun May 01 12:12:52 2005 -0700 |
tree | 192ac868b9d0854d31fb04a21a968796892cbf94 | |
parent | 76530da1a9e8ce05963b1f49a098eddc6ec6c534 [diff] |
[PATCH] Avoid unnecessary ide-cd cache flushes Only issue a cdrom cache flush if we've done write to the drive. The ->media_written() flag keeps track of that. Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>