linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* netfs read failures with current mainline
@ 2025-02-17 21:01 Steve French
  2025-02-19 16:26 ` David Howells
  2025-02-19 16:45 ` David Howells
  0 siblings, 2 replies; 4+ messages in thread
From: Steve French @ 2025-02-17 21:01 UTC (permalink / raw)
  To: CIFS, David Howells; +Cc: linux-fsdevel

I see many "Couldn't get user pages" netfs errors running cifs/102
regression test (which tests for leaked file handles) when using
current mainline from today (which includes the recent netfs read
retry fixes).  For example many of:

[Mon Feb 17 14:08:31 2025] netfs: Couldn't get user pages (rc=-4)
[Mon Feb 17 14:08:31 2025] netfs: Zero-sized read [R=32f]
[Mon Feb 17 14:08:31 2025] netfs: Couldn't get user pages (rc=-4)

Anyone else see netfs problems when running with current mainline?

The test does the following (checking for handle leaks):

# Create a file to test with
echo "hello world" > $TEST_DIR/leak
# Try to kill a 'cat' when it is opening/closing a file
(for i in {1..5000} ; do cat $TEST_DIR/leak & sleep 0.0001 ; kill -9
$! ; done) >/dev/null 2>&1
sleep 3
# and verify if we have any leaked filehandles
smbstatus | grep -i Locked -A1000

-- 
Thanks,

Steve

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

end of thread, other threads:[~2025-02-20  6:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-17 21:01 netfs read failures with current mainline Steve French
2025-02-19 16:26 ` David Howells
2025-02-20  6:01   ` Steve French
2025-02-19 16:45 ` David Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).