Fix/improve the btrfs_resize function
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- c
調査の方向性
Start from the bd_btrfs_resize() function, which the issue names as the place to add a device parameter. Read how it currently calls the btrfs resize command, and check how the btrfs filesystem resize DEV_ID:SIZE form works. Done means a caller can target one device, and a call without a device spreads the requested total size across the file system's devices. The issue has no comments or linked pull request, so ask the maintainers about the intended API before you write code.
索引モデルが issue の本文から書いたものです。
説明
In order to resize a btrfs file system one needs to specify sizes of space that should be used on devices used by the btrfs file system. Simply calling btrfs filesystem resize SIZE MNT_POINT only resizes the first device not the whole file system. btrfs filesystem resize DEV_ID:SIZE MNT_POINT resizes a particular device.
Thus we need to add a parameter to bd_btrfs_resize() that will allow callers to specify a device and if none is specified, we need to calculate how much space we need to take from devices used by the file system to get the given total size (as one would expect from such function).
- 主要言語
- C
- スター
- 137
- フォーク
- 64
- 平均マージ
- 1日 5時間
- マージ済み PR(30日)
- 3
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
storaged-project/libblockdev のほかの issue
-
fails to build with libnvme3 (nvme-cli 3.0)対応中かも @tbzatek が 41 日前に担当しました。 オープン
storaged-project/libblockdev#1211 · コメント 4 件 · 担当者 1 名 ·
-
RFE
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
storaged-project/libblockdev#1093 · コメント 3 件 ·
-
難易度 4/5 1週間以上 初心者へのやさしさ 18/100
storaged-project/libblockdev#1067 ·
-
難易度 3/5 半日 初心者へのやさしさ 40/100
storaged-project/libblockdev#1060 · コメント 1 件 ·
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
storaged-project/libblockdev#977 · コメント 1 件 ·
storaged-project/libblockdev の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
priority:medium type:chore
難易度 1/5 1〜3時間 初心者へのやさしさ 84/100
crazy-goat/php-fpm-ng#1041 ·
メンテナーはふだん 1 日以内に返信
-
Bug Status: Needs Triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Test failure on FreeBSD: #26 unexpected system_clock source対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンlow priority rt_lib tests
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信