On Fri, Dec 5, 2014 at 10:47 AM, hujianyang <[email protected]> wrote:
> On 2014/12/1 23:26, Miklos Szeredi wrote:
>
> Do you think it's valuable to discard the using of *cursor* and
> use a pointer instead? Or maybe we will enable some remove
> operations for ovl_dir_cache in the future so we should keep
> this mechanism.

Will probably need to do remove operations on merged layers as
whiteouts anyway, which does not involve actual removal of entry.  So
I guess the cursor won't be needed.

> What's your opinion? I'd like to change this part and see if
> the usage of a pointer could speed up .readdir() on a merged
> directory.

If it's a cleanup (removes more complexity than it adds) then a patch
is welcome.

Thanks,
Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-unionfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to