summaryrefslogtreecommitdiffstats
path: root/Documentation/debugging-via-ohci1394.txt
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2012-11-12 22:53:59 +1100
committerBen Myers <bpm@sgi.com>2012-11-13 16:40:43 -0600
commitfd23683c3b1ab905cba61ea2981c156f4bf52845 (patch)
tree1ea38537f14d0ff537ff15a97cedd244a18890e9 /Documentation/debugging-via-ohci1394.txt
parentb64f3a390d3477517cbff7d613e551705540769b (diff)
downloadblackbird-op-linux-fd23683c3b1ab905cba61ea2981c156f4bf52845.tar.gz
blackbird-op-linux-fd23683c3b1ab905cba61ea2981c156f4bf52845.zip
xfs: growfs: use uncached buffers for new headers
When writing the new AG headers to disk, we can't attach write verifiers because they have a dependency on the struct xfs-perag being attached to the buffer to be fully initialised and growfs can't fully initialise them until later in the process. The simplest way to avoid this problem is to use uncached buffers for writing the new headers. These buffers don't have the xfs-perag attached to them, so it's simple to detect in the write verifier and be able to skip the checks that need the xfs-perag. This enables us to attach the appropriate buffer ops to the buffer and hence calculate CRCs on the way to disk. IT also means that the buffer is torn down immediately, and so the first access to the AG headers will re-read the header from disk and perform full verification of the buffer. This way we also can catch corruptions due to problems that went undetected in growfs. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by Rich Johnston <rjohnston@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'Documentation/debugging-via-ohci1394.txt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud