All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] 9p fixes for 5.19-rc4
@ 2022-06-22  4:44 Dominique Martinet
  2022-06-22  4:50 ` Dominique Martinet
  2022-06-22 15:58 ` pr-tracker-bot
  0 siblings, 2 replies; 3+ messages in thread
From: Dominique Martinet @ 2022-06-22  4:44 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Christian Schoenebeck, Tyler Hicks, linux-fsdevel, linux-kernel,
	v9fs-developer


Thanks to Tyler and Christian for the patch/reviews/tests!


The following changes since commit b13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3:

  Linux 5.19-rc2 (2022-06-12 16:11:37 -0700)

are available in the Git repository at:

  https://github.com/martinetd/linux tags/9p-for-5.19-rc4

for you to fetch changes up to b0017602fdf6bd3f344dd49eaee8b6ffeed6dbac:

  9p: fix EBADF errors in cached mode (2022-06-17 06:03:30 +0900)

----------------------------------------------------------------
9p-for-5.19-rc4: fid refcount and fscache fixes

This contains a couple of fixes:
 - fid refcounting was incorrect in some corner cases and would
leak resources, only freed at umount time. The first three commits
fix three such cases
 - cache=loose or fscache was broken when trying to write a partial
page to a file with no read permission since the rework a few releases
ago. The fix taken here is just to restore old behavior of using the
special 'writeback_fid' for such reads, which is open as root/RDWR
and such not get complains that we try to read on a WRONLY fid.
Long-term it'd be nice to get rid of this and not issue the read at
all (skip cache?) in such cases, but that direction hasn't progressed

----------------------------------------------------------------
Dominique Martinet (3):
      9p: fix fid refcount leak in v9fs_vfs_atomic_open_dotl
      9p: fix fid refcount leak in v9fs_vfs_get_link
      9p: fix EBADF errors in cached mode

Tyler Hicks (1):
      9p: Fix refcounting during full path walks for fid lookups

 fs/9p/fid.c            | 22 +++++++++-------------
 fs/9p/vfs_addr.c       | 13 +++++++++++++
 fs/9p/vfs_inode.c      |  8 ++++----
 fs/9p/vfs_inode_dotl.c |  3 +++
 4 files changed, 29 insertions(+), 17 deletions(-)

--
Dominique

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [GIT PULL] 9p fixes for 5.19-rc4
  2022-06-22  4:44 [GIT PULL] 9p fixes for 5.19-rc4 Dominique Martinet
@ 2022-06-22  4:50 ` Dominique Martinet
  2022-06-22 15:58 ` pr-tracker-bot
  1 sibling, 0 replies; 3+ messages in thread
From: Dominique Martinet @ 2022-06-22  4:50 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Christian Schoenebeck, Tyler Hicks, linux-fsdevel, linux-kernel,
	v9fs-developer

Resending as my dkim-signing daemon was borked...
Sorry for the trouble if you're getting this twice.

Dominique Martinet wrote on Wed, Jun 22, 2022 at 01:44:12PM +0900:
> 
> Thanks to Tyler and Christian for the patch/reviews/tests!
> 
> 
> The following changes since commit b13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3:
> 
>   Linux 5.19-rc2 (2022-06-12 16:11:37 -0700)
> 
> are available in the Git repository at:
> 
>   https://github.com/martinetd/linux tags/9p-for-5.19-rc4
> 
> for you to fetch changes up to b0017602fdf6bd3f344dd49eaee8b6ffeed6dbac:
> 
>   9p: fix EBADF errors in cached mode (2022-06-17 06:03:30 +0900)
> 
> ----------------------------------------------------------------
> 9p-for-5.19-rc4: fid refcount and fscache fixes
> 
> This contains a couple of fixes:
>  - fid refcounting was incorrect in some corner cases and would
> leak resources, only freed at umount time. The first three commits
> fix three such cases
>  - cache=loose or fscache was broken when trying to write a partial
> page to a file with no read permission since the rework a few releases
> ago. The fix taken here is just to restore old behavior of using the
> special 'writeback_fid' for such reads, which is open as root/RDWR
> and such not get complains that we try to read on a WRONLY fid.
> Long-term it'd be nice to get rid of this and not issue the read at
> all (skip cache?) in such cases, but that direction hasn't progressed
> 
> ----------------------------------------------------------------
> Dominique Martinet (3):
>       9p: fix fid refcount leak in v9fs_vfs_atomic_open_dotl
>       9p: fix fid refcount leak in v9fs_vfs_get_link
>       9p: fix EBADF errors in cached mode
> 
> Tyler Hicks (1):
>       9p: Fix refcounting during full path walks for fid lookups
> 
>  fs/9p/fid.c            | 22 +++++++++-------------
>  fs/9p/vfs_addr.c       | 13 +++++++++++++
>  fs/9p/vfs_inode.c      |  8 ++++----
>  fs/9p/vfs_inode_dotl.c |  3 +++
>  4 files changed, 29 insertions(+), 17 deletions(-)
> 
--
Dominique

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [GIT PULL] 9p fixes for 5.19-rc4
  2022-06-22  4:44 [GIT PULL] 9p fixes for 5.19-rc4 Dominique Martinet
  2022-06-22  4:50 ` Dominique Martinet
@ 2022-06-22 15:58 ` pr-tracker-bot
  1 sibling, 0 replies; 3+ messages in thread
From: pr-tracker-bot @ 2022-06-22 15:58 UTC (permalink / raw)
  To: Dominique Martinet
  Cc: Linus Torvalds, Christian Schoenebeck, Tyler Hicks,
	linux-fsdevel, linux-kernel, v9fs-developer

The pull request you sent on Wed, 22 Jun 2022 13:44:12 +0900:

> https://github.com/martinetd/linux tags/9p-for-5.19-rc4

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/3abc3ae553c7ed73365b385b9a4cffc5176aae45

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-22 16:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-22  4:44 [GIT PULL] 9p fixes for 5.19-rc4 Dominique Martinet
2022-06-22  4:50 ` Dominique Martinet
2022-06-22 15:58 ` pr-tracker-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.