Re: [PATCH v2] 9pfs: Improve unreclaim loop

2021-01-22 Thread Greg Kurz
On Fri, 22 Jan 2021 14:09:12 +0100 Christian Schoenebeck wrote: > On Donnerstag, 21. Januar 2021 19:15:10 CET Greg Kurz wrote: > > If a fid was actually re-opened by v9fs_reopen_fid(), we re-traverse the > > fid list from the head in case some other request created a fid that > > needs to be mark

Re: [PATCH v2] 9pfs: Improve unreclaim loop

2021-01-22 Thread Christian Schoenebeck
On Donnerstag, 21. Januar 2021 19:15:10 CET Greg Kurz wrote: > If a fid was actually re-opened by v9fs_reopen_fid(), we re-traverse the > fid list from the head in case some other request created a fid that > needs to be marked unreclaimable as well (ie. the client opened a new That's "i.e.". Not

[PATCH v2] 9pfs: Improve unreclaim loop

2021-01-21 Thread Greg Kurz
If a fid was actually re-opened by v9fs_reopen_fid(), we re-traverse the fid list from the head in case some other request created a fid that needs to be marked unreclaimable as well (ie. the client opened a new handle on the path that is being unlinked). This is suboptimal since most if not all fi