linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [btrfs-progs] btrfs filesystem defragment now outputs processed filenames ?
@ 2022-10-17 11:32 Lionel Bouton
  2022-10-17 15:47 ` Patrik Lundquist
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Lionel Bouton @ 2022-10-17 11:32 UTC (permalink / raw)
  To: Btrfs BTRFS

Hi,

I just noticed a change in behavior for btrfs-progs (at least in 6.0-1 
on Arch Linux). It now outputs the filenames it defragments and I can't 
find a command line option to disable it.

I'm using a defragment scheduler which triggers file defragmentation 
file by file and even recently by offset and size in a file (to limit 
the IO load spikes that can happen when defragmenting large files on HDD 
and T/QLC SSD/NVME with small SLC buffers).
Currently the scheduler forwards the btrfs command's output to its own 
and it pollutes the logs with superfluous information (when 
defragmenting in 128MB chunks I get tens of log lines for multiple GB 
files).

This isn't a big problem and it is easily fixable in my scheduler but I 
was wondering if there is any plan to allow silencing it or should I 
just cleanup the ouput before forwarding it (I prefer to write any 
unexpected output in logs instead of ignoring everything) ?

Best regards,

Lionel


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

end of thread, other threads:[~2022-11-11 15:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-17 11:32 [btrfs-progs] btrfs filesystem defragment now outputs processed filenames ? Lionel Bouton
2022-10-17 15:47 ` Patrik Lundquist
2022-10-17 16:38   ` Lionel Bouton
2022-10-17 16:50 ` Roman Mamedov
2022-11-11 15:47 ` David Sterba

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).