diff options
author | Andrew Patterson <andrew.patterson@hp.com> | 2008-09-04 16:27:40 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-10-09 02:56:13 -0400 |
commit | 56ade44b46780fa291fa68b824f1dafdcb11b0ca (patch) | |
tree | 2232dc9a9e6b080428e4e6e0a32bcc7c83cc1731 /block/blk-timeout.c | |
parent | f98a8cae12f2b2a8f9bfd7a53c990a1a405e880e (diff) |
Added flush_disk to factor out common buffer cache flushing code.
We need to be able to flush the buffer cache for for more than
just when a disk is changed, so we factor out common cache flush code
in check_disk_change() to an internal flush_disk() routine. This
routine will then be used for both disk changes and disk resizes (in a
later patch).
Include the disk name in the text indicating that there are busy
inodes on the device and increase the KERN severity of the message.
Signed-off-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/blk-timeout.c')
0 files changed, 0 insertions, 0 deletions