On Sunday, October 2, 2016 6:54:09 PM IST Chandan Rajendra wrote: > Btrfs assumes block size to be the same as the machine's page > size. This would mean that a Btrfs instance created on a 4k page size > machine (e.g. x86) will not be mountable on machines with larger page > sizes (e.g. PPC64/AARCH64). This patchset aims to resolve this > incompatibility. > > This patchset continues with the work posted previously at > http://marc.info/?l=linux-btrfs&m=146760691422240&w=2 > > This patchset is based on top of Josef's > 1. Metadata throttling in writeback patches > 2. Kill the btree inode patches Hi Josef, Did you get any chance to work on the above listed patchsets? Please let me know when you get a fairly working solution uploaded on your Linux git tree. I could use it to rebase my patchset and start testing the code base. I have put in a lot of time & effort to get the subpage-blocksize patchset in its current form. Rebasing and retesting the subpage-blocksize patchset across various kernel releases also would consume time. It would be great to have it merged into the mainline kernel. Once that is done, I will have to get other features of Btrfs (scrub, compression, etc) to work in subpage-blocksize scenario. It would be great to have it merged into the mainline kernel soon. Once that is done, I will have to get other features of Btrfs (scrub, compression, etc) to work in subpage-blocksize scenario. > The major change in this version is the usage of kmalloc()-ed memory for > holding metadata blocks whose size is less than the machine's page size. This > vastly reduces the complexity of extent buffer mangement (Thanks to Josef's > "Kill the btree inode patches"). > > When writing back dirty extent buffers, we currently track the corresponding > extent buffers using the pointer at page->private. With kmalloc-ed() memory > this isn't possible and hence we track the first extent buffer under writeback > using bio->bi_private. Also, For kmalloc-ed() extent buffers this patchset > currently limits the number of dirty extent buffers in a "write" bio to > 1. This limit will be removed in a future patchset. > -- chandan -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
