[patch 04/16] ext3: fix race between ext3 make block reservation and reservation window discard

[patch 04/16] ext3: fix race between ext3 make block reservation and reservation window discard

Post by Mingming C » Wed, 01 Jun 2005 15:30:13



This patch really is to prevent re-remove an already removed reservation
window node from the filesystem red-black reservation tree. It has
nothing to do with the log_do_checkpoint failure.

Mingming

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to XXXX@XXXXX.COM
More majordomo info at http://www.yqcomputer.com/
Please read the FAQ at http://www.yqcomputer.com/
 
 
 

1. [Patch 4/6]: ext3 reservations: Turn ext3 per-sb reservations list into an rbtree.

2. [Patch 4/6]: ext3 reservations: Turn ext3 per-sb reservations list into an rbtree.


Takes this structure up to 32 bytes on x86. That's a moderate amount of
inode bloat for something which is only used when an application currently
has the inode open for writing.

Have you given any thought to dynamic allocation of the above?

And if we were to do that, there are a few things which we could move out
of the ext3 in-core inode and into the above structure, such as
i_next_alloc_block and i_next_alloc_goal.

Does the reservation code work for directory growth, btw?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to XXXX@XXXXX.COM
More majordomo info at http://www.yqcomputer.com/
Please read the FAQ at http://www.yqcomputer.com/

3. [Patch 4/6]: ext3 reservations: Turn ext3 per-sb reservations list into an rbtree.

4. [Patch 6/6]: ext3 reservations: SMP-protect the reservation during allocation

5. [PATCH 1/3] ext3 reservation remove stale window fix

6. [PATCH 0/4] ext3 block reservation patch set

7. [PATCH 3/4] ext3 block reservation patch set --mount and ioctl feature

8. [Patch 1/2]: ext3 reservation window size increase incorrectly fix

9. [Patch 2/2]: ext3 reservations window allocation fix

10. [Patch 1/6]: ext3 reservations: Spelling fixes

11. [PATCH 3/5] ext3-get-blocks: support multiple blocks allocation in ext3-new-block()

12. [PATCH 4/5] ext3-get-blocks: Adjust accounting info in ext3-new-blocks()

13. [Ext2-devel] Ext3 -mm reservations code: is this fix really correct?

14. Ext3 -mm reservations code: is this fix really correct?

15. [Ext2-devel] [RFC, PATCH] Reservation based ext3 preallocation