To do list
OGAWA Hirofumi
hirofumi at mail.parknet.co.jp
Thu Jan 10 16:15:48 PST 2013
OGAWA Hirofumi <hirofumi at mail.parknet.co.jp> writes:
> Daniel Phillips <daniel.raymond.phillips at gmail.com> writes:
>
>> So shentino's wish was exactly correct
>
> However, there are more several things to support swapfile.
>
> E.g. swap write pages without any fs handler, so dtree of inode must not
> be changed (no CoW, and no truncate, etc).
>
> So, maybe, we would need to implement something via
> a_ops->swap_activate/swap_deactivate().
Ah, I noticed now, ->swap_activate/swap_deactivate() can replace
->bmap() for swapfile.
So, we don't need to remove i_mutex from ->bmap(), instead, we have to
support ->swap_*.
--
OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
More information about the Tux3
mailing list