]> Pileus Git - ~andy/linux/commit
xfs: Inode create item recovery
authorDave Chinner <david@fromorbit.com>
Thu, 27 Jun 2013 06:04:55 +0000 (16:04 +1000)
committerBen Myers <bpm@sgi.com>
Thu, 27 Jun 2013 19:26:21 +0000 (14:26 -0500)
commit28c8e41af693e4b5cd2d68218f144cf40ce15781
tree79bea3212f87c81509af8acbf92b004f91e4a3eb
parentb8402b4729495ac719a3f532c2e33ac653b222a8
xfs: Inode create item recovery

When we find a icreate transaction, we need to get and initialise
the buffers in the range that has been passed. Extract and verify
the information in the item record, then loop over the range
initialising and issuing the buffer writes delayed.

Support an arbitrary size range to initialise so that in
future when we allocate inodes in much larger chunks all kernels
that understand this transaction can still recover them.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_ialloc.c
fs/xfs/xfs_ialloc.h
fs/xfs/xfs_log_recover.c