Re: [PATCH] Don't use pdflush for filesystems has BDI_CAP_NO_WRITEBACK

From: OGAWA Hirofumi
Date: Sun Oct 30 2005 - 12:17:47 EST


OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> writes:

> diff -puN fs/hugetlbfs/inode.c~add-set_inode_noflush fs/hugetlbfs/inode.c
> --- linux-2.6.14/fs/hugetlbfs/inode.c~add-set_inode_noflush 2005-10-29 08:13:57.000000000 +0900
> +++ linux-2.6.14-hirofumi/fs/hugetlbfs/inode.c 2005-10-29 08:13:57.000000000 +0900
> @@ -394,6 +394,7 @@ static struct inode *hugetlbfs_get_inode
> inode = new_inode(sb);
> if (inode) {
> struct hugetlbfs_inode_info *info;
> + set_inode_noflush(inode);
> inode->i_mode = mode;
> inode->i_uid = uid;
> inode->i_gid = gid;

Sigh, I'm forgetting block special file again. Sorry for wrong patch.
--
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/