# Re: \[PATCH v2 1/5\] add metadata\_incore ioctl in vfs

- From: Arnd Bergmann \<arnd@arndb.de\>
- Date: 2011-01-07 14:15:13 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2011/01/49852
- Thread: https://ratatoskr.run/linux-btrfs/2011/01/49852/t.md

```text
On Thursday 06 January 2011, Shaohua Li wrote:
> Subject: add metadata_incore ioctl in vfs
> 
> Add an ioctl to dump filesystem's metadata in memory in vfs. Userspace collects
> such info and uses it to do metadata readahead.
> Filesystem can hook to super_operations.metadata_incore to get metadata in
> specific approach. Next patch will give an example how to implement
> .metadata_incore in btrfs.
> 
> Signed-off-by: Shaohua Li <redacted>

Looks great!

Reviewed-by: Arnd Bergmann <arnd@arndb.de>
```
