|
|
About ::
TODO ::
Blog ::
RSS ::
Old blog ::
Projects ::
GIT ::
Gallery ::
Notes
Thu, 11 Jan 2007
Filesystem corruption bug recently found in Linux kernel.
LWN.net article about it
clearly shows how complex VFS is, but its conclusion and Linus
words about buffer heads are interesting. Conclusion is basically
'do not use buffer heads'. Indeed, all the time I worked with VFS (
kevent and AIO,
receiving zero-copy,
test block device for acrypto)
I never ever tried to use buffer heads - why is it needed, when
this days we operate with pages already - and eventually
filesystems operate with pages too - they have special set of
callbacks to write page, read them and so on.
So, filesystem must be simple
in that regard - do not split page into buffer heads, always work with pages and provide
appropriate callbacks where they are needed (inode operations at least),
and that is how my FS will work.
/devel/fs :: Link / Comments ()
|