Re: [PATCH RFC md-6.16 v3 17/19] md/md-llbitmap: implement all bitmap operations

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

 



Hi,

在 2025/05/12 13:18, Christoph Hellwig 写道:
On Mon, May 12, 2025 at 09:19:25AM +0800, Yu Kuai wrote:
And following APIs that are not needed:
  - llbitmap_write_all, used in old bitmap to mark all pages need
  writeback;
  - llbitmap_daemon_work, used in old bitmap, llbitmap use timer to
    trigger daemon;
  - llbitmap_cond_end_sync, use to end sync for completed sectors(TODO,
    don't affect functionality)
And following APIs that are not supported:
  - llbitmap_start_behind_write
  - llbitmap_end_behind_write
  - llbitmap_wait_behind_writes
  - llbitmap_sync_with_cluster
  - llbitmap_get_from_slot
  - llbitmap_copy_from_slot
  - llbitmap_set_pages
  - llbitmap_free

Please just make these optional instead of implementing stubs.

Ok, I'll add a patch to check if those methods are NULL before calling
them.

Thanks,
Kuai

.






[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux