| .. | .. |
|---|
| 36 | 36 | #define XFS_RUI_MAX_FAST_EXTENTS 16 |
|---|
| 37 | 37 | |
|---|
| 38 | 38 | /* |
|---|
| 39 | | - * Define RUI flag bits. Manipulated by set/clear/test_bit operators. |
|---|
| 40 | | - */ |
|---|
| 41 | | -#define XFS_RUI_RECOVERED 1 |
|---|
| 42 | | - |
|---|
| 43 | | -/* |
|---|
| 44 | 39 | * This is the "rmap update intent" log item. It is used to log the fact that |
|---|
| 45 | 40 | * some reverse mappings need to change. It is used in conjunction with the |
|---|
| 46 | 41 | * "rmap update done" log item described below. |
|---|
| .. | .. |
|---|
| 52 | 47 | struct xfs_log_item rui_item; |
|---|
| 53 | 48 | atomic_t rui_refcount; |
|---|
| 54 | 49 | atomic_t rui_next_extent; |
|---|
| 55 | | - unsigned long rui_flags; /* misc flags */ |
|---|
| 56 | 50 | struct xfs_rui_log_format rui_format; |
|---|
| 57 | 51 | }; |
|---|
| 58 | 52 | |
|---|
| .. | .. |
|---|
| 76 | 70 | |
|---|
| 77 | 71 | extern struct kmem_zone *xfs_rui_zone; |
|---|
| 78 | 72 | extern struct kmem_zone *xfs_rud_zone; |
|---|
| 79 | | - |
|---|
| 80 | | -struct xfs_rui_log_item *xfs_rui_init(struct xfs_mount *, uint); |
|---|
| 81 | | -struct xfs_rud_log_item *xfs_rud_init(struct xfs_mount *, |
|---|
| 82 | | - struct xfs_rui_log_item *); |
|---|
| 83 | | -int xfs_rui_copy_format(struct xfs_log_iovec *buf, |
|---|
| 84 | | - struct xfs_rui_log_format *dst_rui_fmt); |
|---|
| 85 | | -void xfs_rui_item_free(struct xfs_rui_log_item *); |
|---|
| 86 | | -void xfs_rui_release(struct xfs_rui_log_item *); |
|---|
| 87 | | -int xfs_rui_recover(struct xfs_mount *mp, struct xfs_rui_log_item *ruip); |
|---|
| 88 | 73 | |
|---|
| 89 | 74 | #endif /* __XFS_RMAP_ITEM_H__ */ |
|---|