<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/bcachefs/thread_with_file.c, branch linux-6.10.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.10.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.10.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2024-04-16T23:11:49Z</updated>
<entry>
<title>bcachefs: Fix null ptr deref in twf from BCH_IOCTL_FSCK_OFFLINE</title>
<updated>2024-04-16T23:11:49Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-04-16T21:55:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=02bed83d59e37da30b745e30129511b1cc595c92'/>
<id>urn:sha1:02bed83d59e37da30b745e30129511b1cc595c92</id>
<content type='text'>
We need to initialize the stdio redirects before they're used.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: thread_with_file: add f_ops.flush</title>
<updated>2024-03-14T01:22:20Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-02-18T01:49:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=da23795e4c3ae0efd701e81b54c5c42d4b6f37f4'/>
<id>urn:sha1:da23795e4c3ae0efd701e81b54c5c42d4b6f37f4</id>
<content type='text'>
Add a flush op, to return the exit code via close().

Also update bcachefs usage to use this to return fsck exit codes.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: thread_with_file: Fix missing va_end()</title>
<updated>2024-03-14T01:22:18Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-02-14T01:26:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6b33312925a77c24905cef1356c2b63a6149d8a1'/>
<id>urn:sha1:6b33312925a77c24905cef1356c2b63a6149d8a1</id>
<content type='text'>
Fixes: https://lore.kernel.org/linux-bcachefs/202402131603.E953E2CF@keescook/T/#u
Reported-by: coverity scan
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: thread_with_file: allow ioctls against these files</title>
<updated>2024-03-14T01:22:15Z</updated>
<author>
<name>Darrick J. Wong</name>
</author>
<published>2024-02-10T19:32:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=658a1e42ce00b487909cdf91247e69c333b2c37a'/>
<id>urn:sha1:658a1e42ce00b487909cdf91247e69c333b2c37a</id>
<content type='text'>
Make it so that a thread_with_stdio user can handle ioctls against the
file descriptor.

Signed-off-by: Darrick J. Wong &lt;djwong@kernel.org&gt;
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: thread_with_file: create ops structure for thread_with_stdio</title>
<updated>2024-03-14T01:22:13Z</updated>
<author>
<name>Darrick J. Wong</name>
</author>
<published>2024-02-10T19:23:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ab6752e24ef1eb4ef2cf35c4aa87eb1c9854e1a1'/>
<id>urn:sha1:ab6752e24ef1eb4ef2cf35c4aa87eb1c9854e1a1</id>
<content type='text'>
Create an ops structure so we can add more file-based functionality in
the next few patches.

Signed-off-by: Darrick J. Wong &lt;djwong@kernel.org&gt;
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: thread_with_file: fix various printf problems</title>
<updated>2024-03-14T01:22:10Z</updated>
<author>
<name>Darrick J. Wong</name>
</author>
<published>2024-02-07T19:39:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1cbae651e5c875f4d128211b3c732ee545f45424'/>
<id>urn:sha1:1cbae651e5c875f4d128211b3c732ee545f45424</id>
<content type='text'>
Experimentally fix some problems with stdio_redirect_vprintf by creating
a MOO variant with which we can experiment.  We can't do a GFP_KERNEL
allocation while holding the spinlock, and I don't like how the printf
function can silently truncate the output if memory allocation fails.

Signed-off-by: Darrick J. Wong &lt;djwong@kernel.org&gt;
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: thread_with_file: allow creation of readonly files</title>
<updated>2024-03-14T01:22:08Z</updated>
<author>
<name>Darrick J. Wong</name>
</author>
<published>2024-02-07T19:43:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fcb1620edd4d59eff4b3466be1d61263cea958a8'/>
<id>urn:sha1:fcb1620edd4d59eff4b3466be1d61263cea958a8</id>
<content type='text'>
Create a new run_thread_with_stdout function that opens a file in
O_RDONLY mode so that the kernel can write things to userspace but
userspace cannot write to the kernel.  This will be used to convey xfs
health event information to userspace.

Signed-off-by: Darrick J. Wong &lt;djwong@kernel.org&gt;
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: thread_with_stdio: suppress hung task warning</title>
<updated>2024-03-14T01:22:04Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-02-09T01:41:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a5a650d6472f238191d98d8aba7536a9fb3d9f99'/>
<id>urn:sha1:a5a650d6472f238191d98d8aba7536a9fb3d9f99</id>
<content type='text'>
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: thread_with_stdio: Mark completed in -&gt;release()</title>
<updated>2024-03-14T01:22:00Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-02-09T01:27:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8f9320d3a3993e76c8097fb8567ba5f3eb2cb91b'/>
<id>urn:sha1:8f9320d3a3993e76c8097fb8567ba5f3eb2cb91b</id>
<content type='text'>
This fixes stdio_redirect_read() getting stuck, not noticing that the
pipe has been closed.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Thread with file documentation</title>
<updated>2024-03-13T22:39:13Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-02-03T20:43:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=032b3fd0571a8d7e22c7d8c97bdfc76f17717de2'/>
<id>urn:sha1:032b3fd0571a8d7e22c7d8c97bdfc76f17717de2</id>
<content type='text'>
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
</feed>
