[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ext2fs and large stores (> 1.5G)
From: |
Neal H. Walfield |
Subject: |
Re: [PATCH] ext2fs and large stores (> 1.5G) |
Date: |
04 May 2003 11:15:21 -0400 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 |
> Here is the solution[1] to the "record_global_poke" problem: the
> .dirty field is replaced by .dirty_count field. Now a block in the
> cache is never reused while "use_count || dirty_count". This forces
> us to use the same amount of disk_cache_clear(block) calls (old name
> was disk_image_clear) as disk_cache_release(block,1). One problem
> arises: when indirect block is made many times dirty, this will
> increment dirty_count many times, but _pokel_exec will decrement
> dirty_count only once. To solve it, I made pokel_add to return
> boolean value that indicates whether the passed memory region is
> already in the pokel. If it is, then disk_cache_clear is called.
I think it makes the most sense to clear the dirty bit in
disk_pager_write_page. This is when you are really flushing it to
backing store.
- Re: [PATCH] ext2fs and large stores (> 1.5G), Marcus Brinkmann, 2003/05/02
- Re: [PATCH] ext2fs and large stores (> 1.5G), Ognyan Kulev, 2003/05/02
- Re: [PATCH] ext2fs and large stores (> 1.5G), Neal H. Walfield, 2003/05/02
- Re: [PATCH] ext2fs and large stores (> 1.5G), Ognyan Kulev, 2003/05/02
- Re: [PATCH] ext2fs and large stores (> 1.5G), Neal H. Walfield, 2003/05/02
- Re: [PATCH] ext2fs and large stores (> 1.5G), Yoshinori K. Okuji, 2003/05/03
- Re: [PATCH] ext2fs and large stores (> 1.5G), Simon Law, 2003/05/03
- Re: [PATCH] ext2fs and large stores (> 1.5G), Ognyan Kulev, 2003/05/03
- Re: [PATCH] ext2fs and large stores (> 1.5G), Neal H. Walfield, 2003/05/03
- Re: [PATCH] ext2fs and large stores (> 1.5G), Ognyan Kulev, 2003/05/04
- Re: [PATCH] ext2fs and large stores (> 1.5G),
Neal H. Walfield <=
- Re: [PATCH] ext2fs and large stores (> 1.5G), Ognyan Kulev, 2003/05/04
- Re: [PATCH] ext2fs and large stores (> 1.5G), Neal H. Walfield, 2003/05/04
- Re: [PATCH] ext2fs and large stores (> 1.5G), Ognyan Kulev, 2003/05/05
- Re: [PATCH] ext2fs and large stores (> 1.5G), Marcus Brinkmann, 2003/05/05
- Re: [PATCH] ext2fs and large stores (> 1.5G), Ognyan Kulev, 2003/05/05