Re: [patch 0/6][RFC] Cleanup FIBMAP

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Zach Brown <zab@...>
Cc: Mike Waychison <mikew@...>, Chris Mason <chris.mason@...>, Anton Altaparmakov <aia21@...>, <linux-fsdevel@...>, <linux-kernel@...>
Date: Wednesday, October 31, 2007 - 7:06 am

Zach Brown wrote:

I use FIBMAP support for a few different things.

The first is to exactly the case that you describe above where we can 
use the first block of a file extracted by FIBMAP to produce an optimal 
sorting for the read order.  My testing showed that the cost of the 
extra fibmap was not too high compared to the speedup, but it was not a 
huge gain over the speedup gained when the read was done in inode sorted 
order.

The second use case is to look at the physical layout of blocks on disk 
for a specific file, use Mark Lord's write_long patches to inject a disk 
error and then read that file to make sure that we are handling disk IO 
errors correctly.  A bit obscure, but really quite useful.

We have also used FIBMAP a few times to try and map an observed IO error 
back to a file. Really slow and painful to do, but should work on any 
file system when a better method is not supported.


ric
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 0/6][RFC] Cleanup FIBMAP, Mike Waychison, (Fri Oct 26, 7:37 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, H. Peter Anvin, (Sat Oct 27, 8:43 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Anton Altaparmakov, (Sat Oct 27, 1:57 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Chris Mason, (Mon Oct 29, 10:10 am)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Mike Waychison, (Mon Oct 29, 3:16 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Andreas Dilger, (Mon Oct 29, 3:47 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Zach Brown, (Mon Oct 29, 12:30 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Mike Waychison, (Mon Oct 29, 3:18 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Zach Brown, (Mon Oct 29, 4:00 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Ric Wheeler, (Wed Oct 31, 7:06 am)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Zach Brown, (Wed Oct 31, 12:16 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Ric Wheeler, (Wed Oct 31, 1:17 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Chris Mason, (Mon Oct 29, 3:46 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Zach Brown, (Mon Oct 29, 4:01 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Szabolcs Szakacsits, (Sat Oct 27, 5:45 pm)