| To: | "Christoph Hellwig" <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [REVIEW] Fix unaligned accesses in IA64 in xfsprogs |
| From: | "Barry Naujok" <bnaujok@xxxxxxx> |
| Date: | Tue, 02 Dec 2008 10:31:16 +1100 |
| Cc: | "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx> |
| In-reply-to: | <20081201134205.GA7528@xxxxxxxxxxxxx> |
| Organization: | SGI |
| References: | <op.ulg0j1bf3jf8g2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20081201134205.GA7528@xxxxxxxxxxxxx> |
| User-agent: | Opera Mail/9.52 (Win32) |
On Tue, 02 Dec 2008 00:42:05 +1100, Christoph Hellwig <hch@xxxxxxxxxxxxx>
wrote:
On Mon, Dec 01, 2008 at 05:34:39PM +1100, Barry Naujok wrote:xfs_repair is the main culprit when getting disk extents which aren't properly aligned in memory. This patch does not call xfs_bmbt_disk_get_all directly anymore but does an unaligned get on the disk extent record and calls xfs_bmbt_get_all which is host-based like the rest of the kernel routines do.What about just doin the get_unaligned in xfs_bmbt_disk_get_all? That way we could just use it everywhere. The only users that don't need the get_unaligned are in the tracing code, and I don't think we should be worried about that little bit of overhead. It's a libxfs/kernel function, so ideally, it should be also ported into the kernel space and possible kernel cleanups along with it.
Another IA64 fix. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 0/9] CRC support for superblock, ag headers, log and btree blocks, Bill O'Donnell |
|---|---|
| Next by Date: | Re: [PATCH 0/9] CRC support for superblock, ag headers, log and btree blocks, Bill O'Donnell |
| Previous by Thread: | Re: [REVIEW] Fix unaligned accesses in IA64 in xfsprogs, Christoph Hellwig |
| Next by Thread: | Re: [REVIEW] Fix unaligned accesses in IA64 in xfsprogs, Barry Naujok |
| Indexes: | [Date] [Thread] [Top] [All Lists] |