Re: [PATCH] iomap: writeback_control pointer part of iomap_writepage_ctx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 22:47 21/10, Christoph Hellwig wrote:
> On Fri, Oct 18, 2024 at 11:55:50AM -0400, Goldwyn Rodrigues wrote:
> > Reduces the number of arguments to functions iomap_writepages() and
> > all functions in the writeback path which require both wpc and wbc.
> > The filesystems need to initialize wpc with wbc before calling
> > iomap_writepages().
> 
> While this looks obviously correct, I'm not sure what the point of
> it is as it adds slightly more lines of code.  Does it generate
> better binary code?  Do you have future changes that depend on it?
> 

No future updates depending on it. It just makes the code
more readable.

No point bouncing two pointers to different functions in the write-
back path, when one can be encompassed into another.

-- 
Goldwyn




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux