Ashwani Raina has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/20725 )

Change subject: KUDU-3527 Fix block manager test on 64k filesystems
......................................................................


Patch Set 5:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/20725/5//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/20725/5//COMMIT_MSG@7
PS5, Line 7: Fix block manager test on 64k filesystems
> For f_bsize=64k, I do the following.
Just for the record and to make things simpler here, you could make use of 
following commands to create a loop device and run mkfs.xfs on it instead of 
adding an additional disk: (works on Ubuntu, check for equivalent 
flags/commands on other distributions)
1. "losetup -f" -> Gives next available unused loop device.
2. "dd if=/dev/zero of=/mnt/file bs=4096 count=262144" - create 1GB file
3. Use the loop device from the #1 output and attach to the file ->  "losetup 
/dev/<loopN> /mnt/file"
4. Now, you can run mkfs.xfs > "mkfs.xfs -b size=65536 /dev/<loopN>

On a side note, when you say 64K kernel, you mean 64K kernel page size - right? 
With that, you should be able to mount the filesystem with 64K block size.

I had asked about hole punching question on 
https://gerrit.cloudera.org/#/c/20680/ but I guess it was not fully tried out. 
What is the error you got when you tried to start Kudu? Basically, I am 
interested in knowing whether it is our code or underlying kernel code that 
throws error.

KUDU-3523, however, is using overlayfs (abstract layer like unionfs) where Kudu 
is up and running. It is worth exploring how come Kudu is able to start there 
and not in this environment.



--
To view, visit http://gerrit.cloudera.org:8080/20725
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I7e325bde502b7d7f39dd17fa84cb7eb42a3d7c20
Gerrit-Change-Number: 20725
Gerrit-PatchSet: 5
Gerrit-Owner: Zoltan Martonka <zmarto...@cloudera.com>
Gerrit-Reviewer: Ashwani Raina <ara...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mahesh Reddy <mre...@cloudera.com>
Gerrit-Reviewer: Wang Xixu <1450306...@qq.com>
Gerrit-Reviewer: Zoltan Martonka <zmarto...@cloudera.com>
Gerrit-Comment-Date: Thu, 14 Dec 2023 13:54:13 +0000
Gerrit-HasComments: Yes

Reply via email to