| To: | linux-xfs@xxxxxxxxxxx |
|---|---|
| Subject: | TAKE - inode allocation optimization |
| From: | Steve Lord <lord@xxxxxxx> |
| Date: | Fri, 9 May 2003 09:23:41 -0500 |
| Sender: | linux-xfs-bounce@xxxxxxxxxxx |
Optimize the code used to initialize inodes during their allocation.
Small thing I found in the middle of a much larger project.
Date: Fri May 9 07:23:33 PDT 2003
Workarea: penguin.americas.sgi.com:/src/lord/xfs-linux.2.4
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:148423a
linux/fs/xfs/xfs_ialloc.c - 1.167
- use a simple memset and initialize the few non zero fields
rather than initializing fields individually. Also move
this outside of an extra layer of loop.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | TAKE - xfs_syncd code move, Steve Lord |
|---|---|
| Next by Date: | RE: accessing the ACL of a file inside XFS kernel., Eric Chen |
| Previous by Thread: | TAKE - xfs_syncd code move, Steve Lord |
| Next by Thread: | TAKE - Merge up to 2.4.21-rc2, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |