[PATCH v2] selftests: ublk: add missing gitignore for metadata_size binary

Alexander Atanasov posted 1 patch 1 week, 5 days ago
tools/testing/selftests/ublk/.gitignore | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
[PATCH v2] selftests: ublk: add missing gitignore for metadata_size binary
Posted by Alexander Atanasov 1 week, 5 days ago
A new utility metadata_size was added in
commit 261b67f4e347 ("selftests: ublk: add utility to get block device metadata size")
but it was not added to .gitignore. Fix that by adding it there.

While at it sort all entries alphabetically and add a SPDX license header.

Reviewed-by: Caleb Sander Mateos <csander@purestorage.com>
Fixes: 261b67f4e347 ("selftests: ublk: add utility to get block device metadata size")
Signed-off-by: Alexander Atanasov <alex@zazolabs.com>
---
 tools/testing/selftests/ublk/.gitignore | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

v1->v2:
 - add SPDX license header
 - sort alphabetically as suggested by Caleb Sander Mateos

It is also Reviewed-by: Ming Lei <ming.lei@redhat.com> but it needs an Ack from him,
as he is the original author of the file, for the license header.


diff --git a/tools/testing/selftests/ublk/.gitignore b/tools/testing/selftests/ublk/.gitignore
index 8b2871ea7751..e17bd28f27e0 100644
--- a/tools/testing/selftests/ublk/.gitignore
+++ b/tools/testing/selftests/ublk/.gitignore
@@ -1,3 +1,5 @@
-kublk
-/tools
+# SPDX-License-Identifier: GPL-2.0
 *-verify.state
+/tools
+kublk
+metadata_size
-- 
2.43.0
Re: [PATCH v2] selftests: ublk: add missing gitignore for metadata_size binary
Posted by Jens Axboe 1 week, 5 days ago
On Sun, 25 Jan 2026 08:57:46 +0000, Alexander Atanasov wrote:
> A new utility metadata_size was added in
> commit 261b67f4e347 ("selftests: ublk: add utility to get block device metadata size")
> but it was not added to .gitignore. Fix that by adding it there.
> 
> While at it sort all entries alphabetically and add a SPDX license header.
> 
> 
> [...]

Applied, thanks!

[1/1] selftests: ublk: add missing gitignore for metadata_size binary
      commit: 8e5bcc3a955a2cc4460b391f55d3b49905eb248e

Best regards,
-- 
Jens Axboe
Re: [PATCH v2] selftests: ublk: add missing gitignore for metadata_size binary
Posted by Ming Lei 1 week, 5 days ago
On Sun, Jan 25, 2026 at 08:57:46AM +0000, Alexander Atanasov wrote:
> A new utility metadata_size was added in
> commit 261b67f4e347 ("selftests: ublk: add utility to get block device metadata size")
> but it was not added to .gitignore. Fix that by adding it there.
> 
> While at it sort all entries alphabetically and add a SPDX license header.
> 
> Reviewed-by: Caleb Sander Mateos <csander@purestorage.com>
> Fixes: 261b67f4e347 ("selftests: ublk: add utility to get block device metadata size")
> Signed-off-by: Alexander Atanasov <alex@zazolabs.com>
> ---
>  tools/testing/selftests/ublk/.gitignore | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> v1->v2:
>  - add SPDX license header
>  - sort alphabetically as suggested by Caleb Sander Mateos
> 
> It is also Reviewed-by: Ming Lei <ming.lei@redhat.com> but it needs an Ack from him,
> as he is the original author of the file, for the license header.
> 
> 
> diff --git a/tools/testing/selftests/ublk/.gitignore b/tools/testing/selftests/ublk/.gitignore
> index 8b2871ea7751..e17bd28f27e0 100644
> --- a/tools/testing/selftests/ublk/.gitignore
> +++ b/tools/testing/selftests/ublk/.gitignore
> @@ -1,3 +1,5 @@
> -kublk
> -/tools
> +# SPDX-License-Identifier: GPL-2.0
>  *-verify.state
> +/tools
> +kublk
> +metadata_size

Reviewed-by: Ming Lei <ming.lei@redhat.com>


Thanks,
Ming