[Tux3] new blockdirty() for userspace

OGAWA Hirofumi hirofumi at mail.parknet.co.jp
Wed Feb 11 19:51:00 PST 2009


Hi,

This is new blockdirty() strategy for userspace.

To make stable buffer for backend, this forks buffers instead of only
data.  With this, backend will become simpler. Because the backend
doesn't need to care about block-fork, when it is flushing buffers.

To do it, this return forked buffer.  [The error check is FIXME for
now, it will be fixed with kernel change. Because blockdirty() for
kernel, it will return -EAGAIN as special case.]

Userspace is simple, so more explanation will be done with kernel
blockdirty().

    static-http://userweb.kernel.org/~hirofumi/tux3/

Please review, and please pull if it's ok.
-- 
OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>

_______________________________________________
Tux3 mailing list
Tux3 at tux3.org
http://mailman.tux3.org/cgi-bin/mailman/listinfo/tux3



More information about the Tux3 mailing list