[Cluster-devel] [GFS2 PATCH] GFS2: combine gfs2_alloc_block and gfs2_alloc_di

Bob Peterson rpeterso at redhat.com
Fri Nov 18 13:58:37 UTC 2011


----- Original Message -----
| Hi,
| 
| Yes, but lets make gfs2_alloc_extent() a totally separate function
| and
| not call it from rgblk_search, that way when looking for unlinked
| inodes
| we don't need to care about gfs2_alloc_extent at all. The only issue
| is
| passing a couple of things from rgblk_search to gfs2_alloc_extent
| (the
| bi (either by index or by pointer) and the current position in the
| bitmap.
| 
| However my thought was to separate these two completely rather than
| leaving one calling the other,
| 
| Steve.

Hi,

Okay, I was afraid that's what you wanted. :)  It just seemed
"messy" to me to pass the bi pointers and such, but I'll do it.

Regards,

Bob Peterson
Red Hat File Systems




More information about the Cluster-devel mailing list