diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-09-09 03:10:25 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-09-11 03:20:26 -0400 |
commit | 500b067c5e6ceea49cf280a02597b1169320e08c (patch) | |
tree | 5e2e9bfd66f825f845fdf395b6303b884769ff6d /include/linux/backing-dev.h | |
parent | d993831fa7ffeb89e994f046f93eeb09ec91df08 (diff) |
writeback: check for registered bdi in flusher add and inode dirty
Also a debugging aid. We want to catch dirty inodes being added to
backing devices that don't do writeback.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/backing-dev.h')
-rw-r--r-- | include/linux/backing-dev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/backing-dev.h b/include/linux/backing-dev.h index 2f218b7cb063..f169bcb90b58 100644 --- a/include/linux/backing-dev.h +++ b/include/linux/backing-dev.h | |||
@@ -29,6 +29,7 @@ enum bdi_state { | |||
29 | BDI_wb_alloc, /* Default embedded wb allocated */ | 29 | BDI_wb_alloc, /* Default embedded wb allocated */ |
30 | BDI_async_congested, /* The async (write) queue is getting full */ | 30 | BDI_async_congested, /* The async (write) queue is getting full */ |
31 | BDI_sync_congested, /* The sync queue is getting full */ | 31 | BDI_sync_congested, /* The sync queue is getting full */ |
32 | BDI_registered, /* bdi_register() was done */ | ||
32 | BDI_unused, /* Available bits start here */ | 33 | BDI_unused, /* Available bits start here */ |
33 | }; | 34 | }; |
34 | 35 | ||