Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Read images from gvfs-mtp mounted folder was slow. #92

Merged
merged 2 commits into from
Sep 6, 2023

Conversation

rb-union
Copy link
Contributor

@rb-union rb-union commented Sep 5, 2023

使用基础IO接口操作gvfs-mtp挂载的文件时,由于多次转发,IO效率较低,
引入dfm-io,使用gio接口操作,改进IO性能.

dfm-io 构建依赖引入'|'(或)关系,允许在不同环境中编译,
当环境中不存在 libdfm-io-dev 时,将不会使用 dfm-io 拷贝优化。

引入的 qttools5-private-dev 不会引入其它安装依赖;
注意:后续环境或 control 文件变化导致 qttools5-private-dev
已被安装而不安装 libdfm-io-dev.
Log: 引入dfm-io加快gvfs-mtp挂载文件读取.
Bug: https://pms.uniontech.com/bug-view-204243.html

已在拉取分支 project/dfm-io 验证

使用基础IO接口操作gvfs-mtp挂载的文件时,由于多次转发,IO效率较低,
引入dfm-io,使用gio接口操作,改进IO性能.

Log: 引入dfm-io加快gvfs-mtp挂载文件读取.
Bug: https://pms.uniontech.com/bug-view-204243.html
Influence: FileLoad MTP
Change-Id: Id02a6c3ecace425498dbe7f017c18ce5f9792cd9
dfm-io 构建依赖引入'|'(或)关系,允许在不同环境中编译,
当环境中不存在 libdfm-io-dev 时,将不会使用 dfm-io 拷贝优化。
* 引入的 qttools5-private-dev 不会引入其它安装依赖;
* 注意:后续环境或 control 文件变化导致 qttools5-private-dev
  已被安装而不安装 libdfm-io-dev.

Log: dfm-io 构建依赖兼容不同环境
Influence: debian/control
@rb-union
Copy link
Contributor Author

rb-union commented Sep 5, 2023

/review @starhcq

@github-actions github-actions bot requested a review from starhcq September 5, 2023 09:27
Copy link
Contributor

@starhcq starhcq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/+1

@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: rb-union, starhcq

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@starhcq starhcq merged commit 155857a into linuxdeepin:master Sep 6, 2023
13 checks passed
rb-union added a commit to rb-union/image-editor that referenced this pull request Sep 21, 2023
Bump version to 1.0.35
PR:
* linuxdeepin#90
* linuxdeepin#92

Log: Bump version to 1.0.35
rb-union added a commit that referenced this pull request Sep 21, 2023
Bump version to 1.0.35
PR:
* #90
* #92

Log: Bump version to 1.0.35
rb-union added a commit to rb-union/image-editor that referenced this pull request Sep 26, 2023
Bump version to 1.0.37 for community,
previous is 1.0.34
PR:
* linuxdeepin#90
* linuxdeepin#92
* linuxdeepin#93

Log: [ Community ] Bump version to 1.0.37
rb-union added a commit to rb-union/image-editor that referenced this pull request Sep 26, 2023
Bump version to 1.0.37 for community,
previous is 1.0.34
PR:
* linuxdeepin#90
* linuxdeepin#92
* linuxdeepin#93

Log: [ Community ] Bump version to 1.0.37
lzwind pushed a commit that referenced this pull request Sep 26, 2023
Bump version to 1.0.37 for community,
previous is 1.0.34
PR:
* #90
* #92
* #93

Log: [ Community ] Bump version to 1.0.37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants