> The reason we haven't seen this before is that we had 'force_delete'
> that would always set i_nlink = 0. Unfortunately force_delete is toxic
> to mmap(), as it will discard any dirty pages rather than flushing
> them to storage, so it was removed in the 2.4.5-pre series...
>
> Al: Is there any reason why the cases
>
> if (!inode->i_nlink)
>
> and the 'magic nfs path' should be treated differently? Personally,
> I'd rather prefer to merge the 2.
I don't think that it's a good idea. Why not fry the cache explicitly
when you invalidate the inode?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/