[Devel] [PATCH] fs: Fix race with old fdt parallel reuse

Cyrill Gorcunov gorcunov at virtuozzo.com
Wed Mar 28 16:44:13 MSK 2018


On Wed, Mar 28, 2018 at 03:18:57PM +0300, Kirill Tkhai wrote:
> We own files->resize_in_progress in this moment,
> but it's only seen by guys, who expands the fdt.
> If someone wants to use fd inside old fdt max number,
> it just doesn't look at this.
> 
> So, let's check old maximum fd after lock is
> acquired to see such the parallel users.
> 
> https://jira.sw.ru/browse/PSBM-82984
> 
> Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
Acked-by: Cyrill Gorcunov <gorcunov at openvz.org>



More information about the Devel mailing list