+2
−2
+13
−2
Loading
maillist inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I9VTE3 CVE: NA Reference: https://lore.kernel.org/all/20240326133813.3224593-1-john.g.garry@oracle.com/ -------------------------------- Set iomap->extent_shift when sub-extent zeroing is required. We treat a sub-extent write same as an unaligned write, so we can leverage the existing sub-FSblock unaligned write support, i.e. try a shared lock with IOMAP_DIO_OVERWRITE_ONLY flag, if this fails then try the exclusive lock. In xfs_iomap_write_unwritten(), FSB calcs are now based on the extsize. Signed-off-by:John Garry <john.g.garry@oracle.com> Signed-off-by:
Long Li <leo.lilong@huawei.com>